ImagickPixel::isPixelSimilarQuantum
(PECL imagick 3 >= 3.3.0)
ImagickPixel::isPixelSimilarQuantum — Returns whether two colors differ by less than the specified distance
Description
Returns true if the distance between two colors is less than the specified distance. The fuzz value should be in the range 0-QuantumRange. The maximum value represents the longest possible distance in the colorspace. e.g. from RGB(0, 0, 0) to RGB(255, 255, 255) for the RGB colorspace
Parameters
color
fuzz
Return Values
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
