note 97956 added to function.imagickpixel-getcolorvalue

From: Date: Tue, 18 May 2010 10:56:08 +0000
Subject: note 97956 added to function.imagickpixel-getcolorvalue
Groups: php.notes 
Request: Send a blank email to php-notes+get-169348@lists.php.net to get a copy of this message
QUOTE: $color The channel to check, specified as one of the Imagick channel constants. $color is a COLOR_* constant, not a channel constant e.g. <?php $image=new Imagick(); $image->readImage('test.png'); $point=$image->getImagePixelColor(0,0); echo ' Alpha:'.$point->getColorValue(imagick::COLOR_ALPHA); echo ' Opacity:'.$point->getColorValue(imagick::COLOR_OPACITY); echo ' R:'.$point->getColorValue(imagick::COLOR_RED); echo ' G:'.$point->getColorValue(imagick::COLOR_GREEN); echo ' B:'.$point->getColorValue(imagick::COLOR_BLUE); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 84.12.100.124 ---- Manual Page -- http://www.php.net/manual/en/function.imagickpixel-getcolorvalue.php Edit -- https://master.php.net/note/edit/97956 Del: integrated -- https://master.php.net/note/delete/97956/integrated Del: useless -- https://master.php.net/note/delete/97956/useless Del: bad code -- https://master.php.net/note/delete/97956/bad+code Del: spam -- https://master.php.net/note/delete/97956/spam Del: non-english -- https://master.php.net/note/delete/97956/non-english Del: in docs -- https://master.php.net/note/delete/97956/in+docs Del: other reasons-- https://master.php.net/note/delete/97956 Reject -- https://master.php.net/note/reject/97956 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169348) next »