advix has asked for the wisdom of the Perl Monks concerning the following question:
Hi ALL,
I've got numbers from 0 to 1023 and had to convert the numbers to PNG (grayscale). I used Image::Magick but couldn't find any method to do that.
That is to say,
my @pixel; $pixel[0] = 100l; $pixel[1] = 1023; ......... ......... $pixel[10000] = 5;
I want these pixel values to be converted to grayscale image in PNG format;
Can anybody help me do that?
Thanks
20100927 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: create PNG image
by zwon (Abbot) on Sep 25, 2010 at 15:41 UTC | |
by advix (Initiate) on Sep 25, 2010 at 21:55 UTC | |
by zwon (Abbot) on Sep 26, 2010 at 03:28 UTC | |
Re: create PNG image
by ambrus (Abbot) on Sep 25, 2010 at 22:50 UTC | |
Re: create PNG image
by tod222 (Pilgrim) on Sep 26, 2010 at 16:03 UTC |
Back to
Seekers of Perl Wisdom