Fill Parameters¶
fill
¶
The fill
parameter determines the method used to fill any empty areas in an image. It is useful when images have excess space due to the fit
parameter being set to fill.
fill_color
¶
fill_color
specifies the colour to be used for filling empty areas in the image.
Type: string
(color value)
Default: white
Usage¶
Basic Fill¶
Fill empty areas with blue color.Hex Color Fill¶
Fill with light gray background.Transparent Fill¶
Leave empty areas transparent (PNG output recommended).Use Cases¶
- Social Media: Create consistent aspect ratios for posts
- Product Images: Uniform backgrounds for e-commerce
- Thumbnails: Consistent sizing without distortion
- Print Layout: Fill to exact dimensions for design layouts