in reply to Perl Image Analysis
From the GD Docs:
$index = $image->getPixel(x,y) object method This returns the color table index underneath the specified point. + It can be combined with rgb() to obtain the rgb color underneath the + pixel. Example: $index = $myImage->getPixel(20,100); ($r,$g,$b) = $myImage->rgb($index);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Image Analysis
by LTjake (Prior) on Oct 04, 2006 at 19:43 UTC | |
|
Re^2: Perl Image Analysis
by Koosemose (Pilgrim) on Oct 04, 2006 at 20:37 UTC |