Pixel color

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dsl
Posts: 21
Joined: 2008-01-22T15:14:29-07:00

Pixel color

Post by dsl »

Could you please advise how to get color of the specific pixel using Perl API
I tried the following
@a = $img1->Get('pixel[10x10]');
but
$img2->Colorize( fill => \@a );
always colorize with black color
I, actually, need to colorize image with the specific pixel color.

Thank you!
Post Reply