Source code in vllm/multimodal/image.py
  
 Source code in vllm/multimodal/image.py
  
 __init__(image_mode: str = 'RGB', **kwargs) -> None
Source code in vllm/multimodal/image.py
  
  Convert image mode with custom background color.
Source code in vllm/multimodal/image.py
  
  Source code in vllm/multimodal/image.py
  
    
    
    
  Rescale the dimensions of an image by a constant factor.
Source code in vllm/multimodal/image.py
  
 rgba_to_rgb(
    image: Image,
    background_color: tuple[int, int, int] | list[int] = (
        255,
        255,
        255,
    ),
) -> Image
Convert an RGBA image to RGB with filled background color.