|
Posted by Andy Hassall on 06/03/07 22:52
On Sun, 3 Jun 2007 18:04:03 -0400, "Skeleton Man" <invalid@guestwho.com> wrote:
>I was thinking.. wouldn't it be cool if you could take an image (jpeg) and
>redraw the entire thing in HTML ? In theory you could parse the image to
>create an array containing the RGB value for every pixel and then print this
>out as a series of 1 pixel wide DIV's with the background color set to the
>pixel colour.
>
>I realise this would result in a massive document (likely several mb) with
>millions of layers, but has anyone ever tried something like this ? I know
>you can get programs to convert jpeg to ascii art, so I can't be too far off
>in my thinking..
Yes, been done before, one of many examples:
http://www.eggheadcafe.com/articles/Image2Html/default.aspx
It's a fairly pointless exercise though.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|