Download location (HTTP): http://www.linuxpackages.net/packages/Slackware-8/robert/libungif-4.1.0b1/source/libungif-4.1.0b1.tar.gz Download location (FTP): Version used: 4.1.0b1 Package size: 343 KB Estimated Disk space required: 3.1 MB |
The libungif package contains libraries for reading all gifs and writing uncompressed ones as well as programs for converting and working with gif files. The libraries are useful for any graphics program wishing to deal with gif files while the programs are useful for conversion purposes as well as cleaning up images.
The reason libungif only writes uncompressed gifs is due to a legal issue with LZW compression (which Unisys claims a patent on). Reading gifs is not a problem as the uncompression routines do not seem to be limited in this way. Note that this has in the past been disputed. The best way to avoid this whole mess is to simply use libungif for looking at gif images on the web, whilst in any pages which you design, use the open source png format instead (which uses, not surprisingly, the libpng library) which has no patent issues at all.
Install libungif by running the following commands:
./configure --prefix=/usr && make && make install |
Note: If you get an error during the make portion compiling lib/qprintf.c, edit the file and comment out or remove line 14: #include <config.h>
As with most libraries, there is no configuration to do, save that the library directory i.e. /usr/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run whilst logged in as root.
The libungif package contains gif2epsn, gif2ps, gif2rgb, gifasm, gifbg, gifburst, gifclip, gifclrmp, gifcolor, gifcomb, gifcompose, giffiltr, giffix, gifflip, gifhisto, gifinfo, gifinter, gifinto, gifovly, gifpos, gifrotat, gifrsize, gifspnge, giftext, gifwedge, icon2gif, raw2gif, rgb2gif, text2gif and the ungif libraries.
Dumps images saved as GIF files on Epson type printers.
Print GIF file on laser printers supporting PostScript.
Convert images saved as GIF to 24-bit RGB image(s).
assemble multiple GIFs into one, or burst a multiple-image GIF.
Generate a single-color test pattern GIF.
Burst a GIF image into subrectangles.
Clip or crop a GIF image.
Modify GIF image colormaps.
Generate color test patterns.
Combine 2 GIF images of exactly the same size into one.
Use (un)giflib tools to compose images.
Template code for filtering a GIF sequentially.
Clumsily attempts to fix truncated GIF images.
Flip GIF image along X or Y axis or rotate by 90 degrees.
Generate color-frequency histogram from a GIF.
Gives information on a GIF file.
Convert between interlaced and non interlaced images.
End-of-pipe fitting for GIF-processing pipelines.
Generate one composite GIF from a multiple-image GIF.
Change a GIF's screen size or recondition it.
Rotate a GIF through any desired angle.
Resize a GIF by deletion or duplication of bits.
Template code for filtering a GIF with in-core operations.
Print (text only) general information about a GIF
Create a test GIF image resembling a color monitor test pattern.
Converter/deconverter to/from an editable text format.
Convert raw 8-bit image data into GIF files.
Convert 24 bit images to a GIF image using color quantization.
Generate GIF images out of regular text in 8x8 font.