Difference between revisions of "GifLib"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
(I added the "Contents" section from BLFS.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://prdownloads.sourceforge.net/libungif/giflib-4.1.4.tar.bz2
 
| http://prdownloads.sourceforge.net/libungif/giflib-4.1.4.tar.bz2
Line 71: Line 71:
 
  install -v -m644 doc/*.txt \
 
  install -v -m644 doc/*.txt \
 
     /usr/share/doc/giflib-4.1.4
 
     /usr/share/doc/giflib-4.1.4
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| gif2epsn, gif2ps, gif2rgb, gif2x11, 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, and text2gif
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libgif.{so,a}
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/share/doc/giflib-4.1.4
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! gif2epsn
 +
| dumps images saved as GIF files on Epson type printers.
 +
|-valign="top"
 +
! gif2ps
 +
| prints GIF files on laser printers supporting PostScript.
 +
|-valign="top"
 +
! gif2rgb
 +
| converts images saved as GIF to 24-bit RGB images.
 +
|-valign="top"
 +
! gif2x11
 +
| displays images saved as GIF files under X Window System.
 +
|-valign="top"
 +
! gifasm
 +
| assembles multiple GIFs into one, or burst a multiple-image GIF.
 +
|-valign="top"
 +
! gifbg
 +
| generates a single-color test pattern GIF.
 +
|-valign="top"
 +
! gifburst
 +
| bursts a GIF image into subrectangles.
 +
|-valign="top"
 +
! gifclip
 +
| clips or crops a GIF image.
 +
|-valign="top"
 +
! gifclrmp
 +
| modifies GIF image colormaps.
 +
|-valign="top"
 +
! gifcolor
 +
| generates color test patterns.
 +
|-valign="top"
 +
! gifcomb
 +
| combines two GIF images of exactly the same size into one.
 +
|-valign="top"
 +
! gifcompose
 +
| uses giflib tools to compose images.
 +
|-valign="top"
 +
! giffiltr
 +
| is a template for filtering a GIF sequentially.
 +
|-valign="top"
 +
! giffix
 +
| clumsily attempts to fix truncated GIF images.
 +
|-valign="top"
 +
! gifflip
 +
| flips a GIF image along the X or Y axis or rotates an image by 90 degrees.
 +
|-valign="top"
 +
! gifhisto
 +
| generate a color-frequency histogram from a GIF.
 +
|-valign="top"
 +
! gifinfo
 +
| gives information about a GIF file.
 +
|-valign="top"
 +
! gifinter
 +
| converts between interlaced and non-interlaced images.
 +
|-valign="top"
 +
! gifinto
 +
| is an end-of-pipe fitting for GIF-processing pipelines.
 +
|-valign="top"
 +
! gifovly
 +
| generates one composite GIF from a multiple-image GIF.
 +
|-valign="top"
 +
! gifpos
 +
| changes a GIF's screen size or reconditions it.
 +
|-valign="top"
 +
! gifrotat
 +
| rotates a GIF through any desired angle.
 +
|-valign="top"
 +
! gifrsize
 +
| resizes a GIF by deletion or duplication of bits.
 +
|-valign="top"
 +
! gifspnge
 +
| is a template for filtering a GIF with in-core operations.
 +
|-valign="top"
 +
! giftext
 +
| prints (text only) general information about a GIF file.
 +
|-valign="top"
 +
! gifwedge
 +
| creates a test GIF image resembling a color monitor test pattern.
 +
|-valign="top"
 +
! icon2gif
 +
| is a converter/deconverter to/from an editable text format.
 +
|-valign="top"
 +
! raw2gif
 +
| converts raw 8-bit image data into GIF files.
 +
|-valign="top"
 +
! rgb2gif
 +
| converts 24 bit images to a GIF image using color quantization.
 +
|-valign="top"
 +
! text2gif
 +
| generates GIF images out of regular text in 8x8 font.
 +
|-valign="top"
 +
! libgif.{so,a}
 +
| contains API functions required by the giflib programs and any other programs needing library functionality to read, write and manipulate GIF images.
 +
|}

Revision as of 02:30, 11 December 2006

Download Source: http://prdownloads.sourceforge.net/libungif/giflib-4.1.4.tar.bz2

Introduction to GifLib

The GifLib package contains libraries for reading and writing GIFs 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.

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/giflib-4.1.4/html &&
install -v -m644 doc/*.{png,html} \
    /usr/share/doc/giflib-4.1.4/html &&
install -v -m644 doc/*.txt \
    /usr/share/doc/giflib-4.1.4

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" LDFLAGS="-L/usr/lib" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/giflib-4.1.4/html &&
install -v -m644 doc/*.{png,html} \
    /usr/share/doc/giflib-4.1.4/html &&
install -v -m644 doc/*.txt \
    /usr/share/doc/giflib-4.1.4

Contents

Installed Programs: gif2epsn, gif2ps, gif2rgb, gif2x11, 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, and text2gif
Installed Libraries: libgif.{so,a}
Installed Directories: /usr/share/doc/giflib-4.1.4

Short Descriptions

gif2epsn dumps images saved as GIF files on Epson type printers.
gif2ps prints GIF files on laser printers supporting PostScript.
gif2rgb converts images saved as GIF to 24-bit RGB images.
gif2x11 displays images saved as GIF files under X Window System.
gifasm assembles multiple GIFs into one, or burst a multiple-image GIF.
gifbg generates a single-color test pattern GIF.
gifburst bursts a GIF image into subrectangles.
gifclip clips or crops a GIF image.
gifclrmp modifies GIF image colormaps.
gifcolor generates color test patterns.
gifcomb combines two GIF images of exactly the same size into one.
gifcompose uses giflib tools to compose images.
giffiltr is a template for filtering a GIF sequentially.
giffix clumsily attempts to fix truncated GIF images.
gifflip flips a GIF image along the X or Y axis or rotates an image by 90 degrees.
gifhisto generate a color-frequency histogram from a GIF.
gifinfo gives information about a GIF file.
gifinter converts between interlaced and non-interlaced images.
gifinto is an end-of-pipe fitting for GIF-processing pipelines.
gifovly generates one composite GIF from a multiple-image GIF.
gifpos changes a GIF's screen size or reconditions it.
gifrotat rotates a GIF through any desired angle.
gifrsize resizes a GIF by deletion or duplication of bits.
gifspnge is a template for filtering a GIF with in-core operations.
giftext prints (text only) general information about a GIF file.
gifwedge creates a test GIF image resembling a color monitor test pattern.
icon2gif is a converter/deconverter to/from an editable text format.
raw2gif converts raw 8-bit image data into GIF files.
rgb2gif converts 24 bit images to a GIF image using color quantization.
text2gif generates GIF images out of regular text in 8x8 font.
libgif.{so,a} contains API functions required by the giflib programs and any other programs needing library functionality to read, write and manipulate GIF images.