Documentation

trimcolor Trim Color

The trimcolor parameter defines which color to trim when the trim parameter is set to color. The trimcolor parameter is only valid when trim is set to color.

Valid values for trimcolor are 3- or 6-digit hex values representing color.

When the trim parameter is set to color but no trimcolor is defined, the trimcolor takes the value of the first pixel (top-left) in the source image.