background
Fills the transparent background of the image with the specified color.
parameters
background color: a color value, default is none. Specifies the background filling color. Blur type color is not allowed in this context. Default value is none.
JSON object properties
background or color: the background color.
{ "background": { "background":"red" } }
simplified syntax parameters
prefix bg: the background color.
bg_red,c_background
array type parameters
One value for background color, like in this example:
{
"background": ["red"]
}
string or number type parameters
The value of the string is the background color
Example 1 - Fill background with a color
 |
Coffee: W150×H186 |
Coffee: W150×H186 |
Simplified syntax: bg_dodgerblue,c_background
Example 2 - Fill background with a pattern
Coffee: W150×H186 |
Coffee: W150×H186 |
Simplified syntax: bg_$pattern:checkerboard,c_background
Example 3 - Fill background with a gradient
Coffee: W150×H186 |
Coffee: W150×H186 |
Simplified syntax: bg_$gradient:-aquamarine,c_background
Example 4 - Fill background with a sized gradient
Coffee: W150×H186 |
Coffee: W150×H186 |
Simplified syntax: bg_$gradient:dodgerblue-aquamarine-80p,c_background