ImagickPixel::setColorCount

(No version information available, might only be in Git) Description public void ImagickPixel::setcolorcount ( string $colorCount ) Sets the color count associated with this color. Parameters: colorCount Sets the color count associated with this color. Returns:

ImagickPixel::setColor

(PECL imagick 2.0.0) Sets the color bool ImagickPixel::setColor ( string $color ) Sets the color described by the ImagickPixel object, with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.). Parameters: color The color definition to use in order to initialise the ImagickPixel object. Returns: Returns TRUE if the spec

ImagickPixel::isSimilar

(PECL imagick 2.0.0) Check the distance between this color and another bool ImagickPixel::isSimilar ( ImagickPixel $color, float $fuzz ) Checks the distance between the color described by this ImagickPixel object and that of the provided object, by plotting their RGB values on the color cube. If the distance between the two points is less than the fuzz value given, the colors are similar. Deprecated in favour of ImagickPixel

ImagickPixel::isPixelSimilarQuantum

(No version information available, might only be in Git) Description public bool ImagickPixel::isPixelSimilarQuantum ( string $color [, string $fuzz ] ) 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 c

ImagickPixel::isPixelSimilar

(No version information available, might only be in Git) Check the distance between this color and another bool ImagickPixel::isPixelSimilar ( ImagickPixel $color, float $fuzz ) Checks the distance between the color described by this ImagickPixel object and that of the provided object, by plotting their RGB values on the color cube. If the distance between the two points is less than the fuzz value given, the colors are simi

ImagickPixel::getIndex

(No version information available, might only be in Git) Description public int ImagickPixel::getIndex ( void ) Gets the colormap index of the pixel wand. Returns:

ImagickPixel::getHSL

(PECL imagick 2.0.0) Returns the normalized HSL color of the ImagickPixel object array ImagickPixel::getHSL ( void ) Returns the normalized HSL color described by the ImagickPixel object, with each of the three values as floating point numbers between 0.0 and 1.0. Returns: Returns the HSL value in an array with the keys "hue", "saturation", and "luminosity". Throws ImagickPixelException on failure

ImagickPixel::getColorValueQuantum

(No version information available, might only be in Git) Description public mixed ImagickPixel::getColorValueQuantum ( void ) Gets the quantum value of a color in the ImagickPixel. Return value is a float if ImageMagick was compiled with HDRI, otherwise an integer. Returns: The quantum value of the color element. Float if ImageMagick was compiled with HDRI, otherwise an int.

ImagickPixel::getColorValue

(PECL imagick 2.0.0) Gets the normalized value of the provided color channel float ImagickPixel::getColorValue ( int $color ) Retrieves the value of the color channel specified, as a floating-point number between 0 and 1. Parameters: color The color to get the value of, specified as one of the Imagick color constants. This can be one of the RGB colors, CMYK colors, alpha

ImagickPixel::getColorQuantum

(No version information available, might only be in Git) Description public mixed ImagickPixel::getColorQuantum ( void ) Returns the color of the pixel in an array as Quantum values. If ImageMagick was compiled as HDRI these will be floats, otherwise they will be integers. Returns: The quantum value of the color element. Float if ImageMagick was compiled with HDRI, otherwise an int.