TrimEffect
class TrimEffect extends LimitedEffectQualifier
Detect and remove image edges whose color is similar to corner pixels.
Methods
__construct($colorSimilarity = null)
Trim constructor.
colorSimilarity(int $colorSimilarity)
Sets the tolerance level for color similarity.
colorOverride(string $colorOverride)
Overrides the corner pixels color with the specified color.
Details
__construct($colorSimilarity = null)
Trim constructor.
TrimEffect
colorSimilarity(int $colorSimilarity)
Sets the tolerance level for color similarity.
TrimEffect
colorOverride(string $colorOverride)
Overrides the corner pixels color with the specified color.