ImageMagick
PHP Manual

La classe ImagickPixel

(PECL imagick 2.0.0)

Synopsis de la classe

ImagickPixel {
bool clear ( void )
__construct ([ string $color ] )
bool destroy ( void )
array getColor ([ int $normalized = 0 ] )
string getColorAsString ( void )
int getColorCount ( void )
public array getColorQuantum ( void )
float getColorValue ( int $color )
public number getColorValueQuantum ( int $color )
array getHSL ( void )
public int getIndex ( void )
bool isPixelSimilar ( ImagickPixel $color , float $fuzz )
public bool isPixelSimilarQuantum ( string $color [, string $fuzz ] )
bool isSimilar ( ImagickPixel $color , float $fuzz )
bool setColor ( string $color )
public bool setcolorcount ( int $colorCount )
bool setColorValue ( int $color , float $value )
public bool setColorValueQuantum ( int $color , number $value )
bool setHSL ( float $hue , float $saturation , float $luminosity )
public bool setIndex ( int $index )
}

Sommaire


ImageMagick
PHP Manual