array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'imagick.getimagepixelcolor.php', 1 => 'Imagick::getImagePixelColor', 2 => 'Returns the color of the specified pixel', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.getimagepage.php', 1 => 'Imagick::getImagePage', ), 'next' => array ( 0 => 'imagick.getimageprofile.php', 1 => 'Imagick::getImageProfile', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/getimagepixelcolor.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::getImagePixelColor

(PECL imagick 2, PECL imagick 3)

Imagick::getImagePixelColorReturns the color of the specified pixel

Beschreibung

public Imagick::getImagePixelColor(int $x, int $y): ImagickPixel

Returns the color of the specified pixel.

Parameter-Liste

x

The x-coordinate of the pixel

y

The y-coordinate of the pixel

Rückgabewerte

Returns an ImagickPixel instance for the color at the coordinates given.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.