Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Convert RGB to an actual color

by Anonymous Monk
on Nov 20, 2002 at 15:55 UTC ( #214503=note: print w/replies, xml ) Need Help??

in reply to Convert RGB to an actual color

Sorry for not being clear in my problem statement. I am running *in2k and perl 5.05. I want to read in all of the pixels from a particular white/gray image and then determine how opaque the image is from pure white. I donít know if this is even possible with perl, but perl is the only lang. that I like to use. I have the reading of the image part working, (though I must have something wrong with my hex conversion) I just need a little help figuring out how to get the average color and then determining opacity from that. Thanks for all of your help already!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2020-08-12 15:48 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (66 votes). Check out past polls.