pantsblazing:
gfx2html Image to HTML Translator
a.k.a. The Dumbest Program In The World

<< home : software

What It Is

This program takes a raster image (e.g. JPEG, PNG, TIFF, BMP, etc.) and converts it to HTML using tables.

It has no legitimate use that I know of. It's the most horribly inefficient way to represent an image that I can imagine:

Sample input BMP: 77,869 bytes
Sample output HTML: 544,675(!) bytes.

Heed the warning on the index page—translating anything other than dimensionally very small images may well crash your browser because of the huge Web pages it generates. So, like, use at your own risk.

But! It's fun. Wheeeee!


Vitals

Language   Perl
Environment   Web/CGI
License   GPL (read fine print)

Requirements

Web server that can execute CGI scripts. I recommend Apache.

Perl

CGI Perl module (comes with Perl)

Imager Perl module

Imager requires you to have system libraries installed for the image formats you want to be able to read:

libpng for PNG images
libjpeg for JPG images
libtiff for TIFF images
libungif for GIF images


Demo

See it in action on pantsblazing:

Go

Download

gfx2html-v1.0.tar.gz

MD5: 378e9442b6ce929c71695d29654e9470



fine print

gfx2html, Copyright © 2003 Nicolai Grossman

gfx2html is free software; you can redistribute it and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

gfx2html is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


<< home : software · top of page