Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Convert RGB to an actual color

by pg (Canon)
on Nov 20, 2002 at 02:07 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2020-08-13 11:47 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (70 votes). Check out past polls.