ImagickPixel::isPixelSimilar
(PECL imagick 3 >= 3.3.0)
ImagickPixel::isPixelSimilar — Check the distance between this color and another
Parameters
color
-
The ImagickPixel object to compare this object against.
fuzz
-
The maximum distance within which to consider these colors as similar.
The theoretical maximum for this value is the square root of three
(1.732).
Return Values
Returns true on success.