WWW FAQ about Interlaced GIFs

This document resides on the World Wide Web on Sunsite (URL is http://www.boutell.com/faq/ ).

If you are unfamiliar with the term "URL", read on and learn!

5.7.7: How can I make transparent and interlaced GIFs? And what are they?

Transparent GIFs are useful because they appear to blend in smoothly with the user's display, even if the user has set a background color that differs from that the developer expected. They do this by assigning one color to be transparent -- if the web browser supports transparency, that color will be replaced by the browser's background color, whatever it may be.

Interlaced GIFs appear first with poor resolution and then improve in resolution until the entire image has arrived, as opposed to arriving linearly from the top row to the bottom row. This is great to get a quick idea of what the entire image will look like while waiting for the rest. This doesn't do much for you if your web browser doesn't support progressive display as the image is downloaded, but non-progressive-display web browsers will still display interlaced GIFs once they have arrived in their entirety.

To create transparent and interlaced GIFs, check out David Koblas' giftool, a program which can manipulate those options and many more aspects of your GIF file.

In addition, there is a document explaining transparent GIFs available at the URL http://melmac.corp.harris.com/transparent_images.html . You can fetch the program giftrans by anonymous ftp from ftp.rz.uni-karlsruhe.de at the path /pub/net/www/tools/giftrans.c.

There is also a Perl Script (URL is: http://www.omron.co.jp:80/~jfriedl/perl/ ) which makes transparent GIFs.