Here is a Perl5 CGI library . A collection of a bunch of tools for auto-indexing Web pages . The Netscape home page. Their API documentation for the Mac is here . A demo of a Perl script that can render GIFs for your Web pages.
Source is available.
On a more positive note, IBM's Web site includes a very nice set of Human-Computer Interface guidelines . MIME is a way to to identify file types. Chris Herborth has a set of MIME information pages . TextureFnoob is a graphics tool. Or a texture programming language.