Check the hex value of a pixle on an image<

<!-- m --><a class="postlink" href="http://www.epherion.com/draw2.html">http://www.epherion.com/draw2.html</a><!-- m -->
Check that page out. Thats completely HTML even though it looks like an image. On a car ride from myrtle beach SC to Philadelphia PA (11 hours) I got bored so I took my dads laptop and started that. Each pixle of the "image" is actually a 1x1 table cell.

I wanted to make a script, program, or whatever that would convert an image into html. THis is basically just for kicks because the file size is wayyyy larger. I guess you could use it in a web design competition where you cant use image, but how often does that happen?

Anyway does PHP or any other languages you know of have a way to check the hex or even RGB of a pixle in an image?wow, a black screen, betcha that was hard to do :D lol

seriously though. I don't see anything but a black screen. and if you use background colors you can't get a pixel from that.

and yes, php will let you copy a image with it's GD Library. takes some practice but you could get it to work.Do you just want to save that as a picture?Look at imagecolorat() (<!-- m --><a class="postlink" href="http://uk.php.net/manual/en/function.imagecolorat.php">http://uk.php.net/manual/en/function.imagecolorat.php</a><!-- m -->)Yah, I was going to reccomend that function, but if he's just trying to make a picture out of it just take a screenshot.
 
Back
Top