Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Convert RGB to an actual color

by pg (Canon)
on Nov 20, 2002 at 02:07 UTC ( [id://214326]=note: print w/replies, xml ) Need Help??


in reply to Convert RGB to an actual color

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://214326]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-20 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found