Introduction to giflib

The giflib package contains libraries for reading and writing GIFs as well as programs for converting and working with GIF files.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

  • Download (HTTP):

  • Download (HTTP) MD5 sum: c7e9f1c10b755ab955156d4c1ac7fc5d

  • Download (HTTP) size: 607 KB

  • Estimated disk space required: 6.5 MB (with generated html documentation; additional 0.7 MB for the tests)

  • Estimated build time: 0.2 SBU (with generated html documentation)

giflib Dependencies


xmlto-0.0.26 (for html documentation)

User Notes:

Installation of giflib

Install giflib by running the following commands:

./configure --prefix=/usr --disable-static &&

To test the results, issue: make check. The test results are in

Now, as the root user:

make install

If you generated html documentation, install it as the root user:

install -v -dm755           /usr/share/doc/giflib-5.1.0/html &&
install -v -m644 doc/*.html /usr/share/doc/giflib-5.1.0/html

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.


Installed Programs: gif2rgb, gifbuild, gifclrmp, gifecho, giffix, gifinto, giftext and giftool
Installed Library:
Installed Directory: /usr/share/doc/giflib-5.1.0

Short Descriptions


converts images saved as GIF to 24-bit RGB images.


dumps GIF data in a textual format, or undumps it to a GIF.


modifies GIF image colormaps.


generates a GIF from ASCII text.


clumsily attempts to fix truncated GIF images.


is an end-of-pipe fitting for GIF-processing pipelines.


prints (text only) general information about a GIF file.


is a GIF transformation tool.

contains API functions required by the giflib programs and any other programs needing library functionality to read, write and manipulate GIF images.

Last updated on 2014-08-23 09:15:33 -0700