[magick-users] perl pixel manipulator
Gabe Schaffer
gabe at gabe.com
Wed Oct 24 19:10:59 PDT 2007
On 10/24/07, Ron Savage <ron at savage.net.au> wrote:
> Why don't you just get the RGBA values like this:
>
> my($x) = 0;
> my($y) = 0;
> my(@pixel) = split(/,/, $original -> Get("Pixel[$x,$y]") );
Generally speaking, that's only useful if you have a relatively few
pixels that you want to manipulate. If you were going to be processing
multi-megapixel images, doing it a pixel at a time would be
intolerably slow.
GNS
More information about the Magick-users
mailing list