A Short History Of The GIF

The GIF Pronunciation Page: CompuServe used to distribute a graphics display program called CompuShow. In the documentation for version 8.33 in the FAQ section, it states:
The GIF (Graphics Interchange Format), pronounced "JIF", was designed by CompuServe and the official specification released in June of 1987.
Have we been doing it wrong all the time? This animation is an amsuing retelling of the history of the .gif image. It was was created for Moving The Still, an online GIF festival hosted during this year's Miami Art Week to commemorate the 25th anniversary of the popular image format.
Sagemindsays...

Some very old (and stripped down) notes I have, from a beginners course I used to teach on web graphics and image formats. (it does loose a little something in translation with the limited formatting we can use here).

GIF: (Graphics Interchange Format)
Limited to 256 colors and less.
Recommended - 72 dpi.
8-bit color planes


Originally designed by Compuserve. June 1987

It used a compression scheme called LZW.
Gif utilizes a compression method which uses a particular algorithm. This algorithm is copyrighted by Unisys. Any software which supports the format must obtain the rights to use the format but all users are free to use it.
Because of this issue..., a new format called PNG (Portable Network Graphics) is slowly infiltrating, and is expected to eventually replace the GIF.


How it compresses...


  1. It compresses repeated patterns of pixels in an image.
  2. The more repeated patterns there are in an image, the more it can be compressed. When the image is decompressed it is
    exactly the same as the original image.
  3. Example:

    If the code looks like this - (@ 42-bytes)
    1 5 6 4 6 7 9 1 2 5 6 9 8 4 5 8 9 2 5 6 9 8 5 6 7 2 5 6 9 6 1 5 6 4 6 7 9 7 8 2 5 6

    The conversion looks for repeating strings of more than 3 numbers -
    1 5 6 4 6 7 9 1 2 5 6 9 8 4 5 8 9 2 5 6 9 8 5 6 7 2 5 6 9 6 1 5 6 4 6 7 9 7 8 2 5 6

    It then replaces the strings with a "token". It refers to which number it repeats and for how many characters -
    1 5 6 4 6 7 9 1 2 5 6 9 8 4 5 8 9 [9,5] 5 6 7 [9,4] 6 [1,7] 7 8 [9,3]

  4. Each "token" takes 2 bytes. having eliminated several repeating characters, our code is now only 31-bytes


Points to note:

  • GIF uses Lossless, Pattern Matching Compression
  • It compresses repeated patterns of pixels in an image.
  • The more repeated patterns there are in an image, the more it can be compressed.
  • When the image is decompressed it is exactly the same as the original image


Summary:
When you convert images to the GIF format you first must reduce the number of colors to 256 or less, (this process looses information). The fewer the colors, the smaller the file. But when the image is compressed, no image detail is lost.

Send this Article to a Friend



Separate multiple emails with a comma (,); limit 5 recipients






Your email has been sent successfully!

Manage this Video in Your Playlists




notify when someone comments
X

This website uses cookies.

This website uses cookies to improve user experience. By using this website you consent to all cookies in accordance with our Privacy Policy.

I agree
  
Learn More