Don't ask to ask, just ask | |
PerlMonks |
Re: Convert RGB to an actual colorby pg (Canon) |
on Nov 20, 2002 at 02:07 UTC ( [id://214326]=note: print w/replies, xml ) | Need Help?? |
You got the color of each pixel already, so now you want to draw the picture by yourself. One choice available is Perl Tk. In Tk, there is one widget called Canvas, and it supports all the operation like draw a line, draw a circle, draw a point ...(If you have the draw point function, you can draw anything else, is it not true ;-). I have a suggestion, as you got all the pixels already, you can even play with it, flip it, rotate it, turn black into white, whatever you want. But one thing you have to bear in mind is that, the GD module posterizes the JPEG files.
In Section
Seekers of Perl Wisdom
|
|