Background Color¶
Usage: background_color(color)
Description¶
The background_color filter sets the background layer to the specified color. This is specifically useful when converting transparent images (PNG) to JPEG
Arguments¶
color
- the color name (like in HTML) or hexadecimal rgb expression without the “#” character (see https://en.wikipedia.org/wiki/Web_colors for example). If color is “auto”, a color will be smartly chosen (based on the image pixels) to be the filling color.
Example¶
The original image is: