GIF Overview


Package Name

DvmGif

Description

A GIF89 file contains a sequence of images.  The file contains a sequence header, an optional sequence color table, and one or more images.  Each image consists of an image header, an optional private color table, and the colormapped image data. Note that this figure shows a simplified model of the GIF format -- see the GIF standard for a more detailed description of the structures and their fields and values.

gif.gif (4309 bytes)

The GIF image structural components are:

Note:GifImgParse and GifImgEncode currently use global variables and will not work over multiple threads.

Detailed Specification

Tcl specification
C API specification

Dependencies

Needs DvmBasic and DvmImap

Example

Decode a GIF to a series of PPM images  [ C | Tcl ]
Encode a PPM as a GIF [ C | Tcl ]
Encode a sequence of PPMs an an animated GIF [ C | Tcl ]


Last Updated :

Copyright © 1997-1998 by Cornell University. See the file license.txt for information on usage and redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.