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

Re: Pixel by pixel reading of images

by bastard (Hermit)
on Feb 25, 2001 at 12:01 UTC ( [id://60741]=note: print w/replies, xml ) Need Help??


in reply to Pixel by pixel reading of images

Chmrr is correct. To get html usable color codes out add:
my $color = sprintf "%02x%02x%02x", $r, $g, $b;
This will create the 3 sets of 2 digit hex numbers you are looking for.

I did an image to table converter here (colored cells)
I believe there are a few other progs like this here, try the code vault.

Snowcrash seems to have built(or used) something similar to what you are doing, but i'm not sure where his code is.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-16 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found