|
|
Gif File format - Compuserve GifsThe GIF file format was developed by Compuserve and is sometimes still refered to as Compuserve Gif. It uses the LZW (Limpel-Ziv and Welch) compression algorithm for 8-bit color images. It is the only image format supported by all graphical web browsers - even the very first ones. What is 8-bit color?8-bit (28 = 256) color depth refers to the number of colors in an image. Thus, gifs can have upto 8-bit or 256 colors. Decreasing the number of colors in a gif image decreases its file size. For example, take a look at the two images below. The first image contains 72 colors and the second one only 16 images. Now compare their file sizes - The image with more number of colors is larger in file size.
Though visually the two images might not seem very different, the image with the larger file size uses 72 different color pixels while the other uses only 16 different color pixels.
Types of GifsThere are two varieties of Gifs:
Page contents: The starting article in the Gif file format section on WebDevelopersNotes.com. The Gif file format was developed by Compuserve and are 8-bit images of two main types, gif87a and gif89a.
Page URL: http://www.webdevelopersnotes.com/graphics/ gif_file_format.php3
|
|