Reply to Re: Jpeg to HTML

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация