Current version: 4.1.0
GifLib, a library for manipulating gif images[Read This First!][Alternatives to Giflib][Download][Important Links][Bug Reports]Notice: I am going on a long backpacking vacation between March and September 1999. Please refer to the links section for a site that will be coordinating patches and fixes during this time. Read this First!Giflib is a library to aid developers needing to work with gif images. It reads and writes gif87a and gif89a files. Please note that gif images contain data compressed with the Lempel-Ziv-Welch (LZW) algorithm which is patented by Unisys. Because of this, use of this library may involve you in legal troubles with Unisys. I take no responsibility for this. Eric S. Raymond, the former maintainer of giflib has this to say about Unisys's licensing:
AlternativesIf you are using giflib because you need an image format for use in your program, but do not necessarily need that format to be gif, I suggest you consider switching over to PNG. PNG (Portable Network Graphic) is the successor format to gif and is both unencumbered by LZW compression (it generally achieves better compression of image data than gifs) and designed to do many things that gif can not (24-bit true-colour, alpha channel support, etc.) Additionally, there is a free, stable, open-source c reference library that you can start using immediately. See the PNG Home Page for more details and download instructions. If, on the other hand, your need is specifically to access gif files, you might want to consider the libungif library. This library does not use LZW to encode the gifs it outputs. Patent lawyers seem to agree that the wording of the Unisys patent is such that code which does decoding only (and not encoding) is not covered by the patent, so you may be safe using this library. [Note: Unisys has at times expressed views which seem to disagree with this interpretation. If you're concerned, speak to a lawyer yourself.] This library uses the same API as giflib and should be available in a binary compatible version. DownloadIf you still have your heart set on using giflib, the latest version should be available from: http://sourceforge.net/projects/libungif. Features and bugfixes that have not yet entered the main distribution may be available at: http://www.arrakeen.demon.co.uk/giflib/ The GIF Controversy: A Software Developer's Perspective provides background information on Unisys's patent claim and how their licensing claims have changed over time. Michael Brown, michael_brown_uk@hotmail.com, has started a patches page that has bug fixes and enhancements that are not yet available in the main giflib/libungif tree. Check it out here: http://www.arrakeen.demon.co.uk/giflib/ Please send bug reports to libungif@prtr-13.ucsc.edu. Please include what architecture you are running on, whether you compiled the library yourself or are using a precompiled binary, the version of the library, what command you use to create the error, and anything else that you think is relevant to the problem.
Last modified: Tuesday, 09 February, 1999 by Toshio Kuratomi badger@prtr-13.ucsc.edu |