Page 1 of 1

Pixel color

Posted: 2008-11-13T07:38:06-07:00
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!