Php/docs/imagickpixel.ispixelsimilarquantum

提供:Dev Guides
< Php
2020年12月14日 (月) 10:25時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

ImagickPixel::isPixelSimilarQuantum

(PECL imagick 3 >= 3.3.0)

ImagickPixel::isPixelSimilarQuantumDescription


説明

public ImagickPixel::isPixelSimilarQuantum ( string $color [, string $fuzz ] ) : bool

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


パラメータ

color
fuzz


返り値