Rendering API
Trim Color trim-color
The trim-color
parameter defines which color to trim when trim=color
. It is ignored otherwise.
Valid color values for trim-color
are color keywords or 3- or 6-digit hex colors. When trim=color
but trim-color
is not defined, trim-color
takes the value of the first (top left) pixel in the source image. Try changing the Trim Mode to color
below to see how trim-color
works.
See the API specification for more information about this parameter's value ranges and format.