eLynx SDK
v3.3.0 C++ image processing API reference |
Limited color, Lossy format, small file
GIF(Graphics Interchange Format) is limited to an 8-bit palette, or 256 colors. This makes the GIF format suitable for storing graphics with relatively few colors such as simple diagrams, shapes, logos and cartoon style images. The GIF format supports animation and is still widely used to provide image animation effects. It also uses a lossless compression that is more effective when large areas have a single color, and ineffective for detailed images or dithered images.
GIF is commonly used to display indexed-color graphics and images in Hypertext Markup Language (HTML) documents over the World Wide Web and other online services. GIF is an LZW-compressed format designed to minimize file size and electronic transfer time. GIF format preserves transparency in indexed-color images; however, it does not support alpha channels.
Specification | GRAPHICS INTERCHANGE FORMAT |
---|---|
Library | libgif Version 3.56 - August 9, 2005 |
Copyright | (c) L. Patrick |
Samples | here |
File | Features | Pixel format |
---|---|---|
8bGray.gif | 8-bit 256 grayscales | Lub |
24b.gif | 3x8-bit rgb color | RGBub |
32b.gif | 3x8-bit rgb color + alpha | RGBAub |