|Do you know where your variables are?|
Getting pixel colours with Image::Magickby Cody Fendant (Friar)
|on Aug 11, 2019 at 08:28 UTC||Need Help??|
Cody Fendant has asked for the wisdom of the Perl Monks concerning the following question:
I'm using Image::Magick to get the individual colour of each pixel of an image.
What I'm getting back when I do this:
Is something like this:
And I'm having to turn that into a hexadecimal code myself with a subroutine where each value is translated with
So, is there any way I can get back hex values from GetPixel?
I'm a little confused about where full documentation for the perl ImageMagick module could be found. The stuff on CPAN is quite brief (doesn't even mention GetPixel), and the stuff on the ImageMagick site doesn't really help.