You might want to look a little closer. GD::getPixel does what you want to do, I think. Combine it with GD::rgb to get the rgb color at that point, like so:
my $index = $myImage->getPixel(20,100); my ($r,$g,$b) = $myImage->rgb($index);
Hope this helps.
In reply to Re: Pixel by pixel reading of images
by Chmrr
in thread Pixel by pixel reading of images
by dmckee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |