SGI

NAME

     IFL - configuring the Image Format	Library	runtime	environment


SYNOPSIS

     The Image Format Library (IFL) provides support for opening, reading,
     writing and creating image	files in a format independent manner.  IFL
     includes support for the TIFF, GIF, PNG, JFIF(JPEG), SGI, PPM, Photo CD,
     FIT, XPM, XBM, NITF, BMP, Alias,	and YUV	file formats. It is
     used by a number of tools bundled with IRIX, including:


	  imginfo
	  imgformats
	  imgcopy
	  imgview
	  imgtcl

     and some of the other desktop tools.


DESCRIPTION

     Two environment variables can be used to configure	the global IFL
     environment. These	environment variables are summarized in	a table	here
     and described in more detail below:

		  Variable	       Default
		  ______________________________________________
		  IFL_DATABASE	       /usr/lib/ifl/ifl_database
		  LD_LIBRARY_PATH      /usr/lib:/lib
		  LD_LIBRARYN32_PATH   /usr/lib32:/lib32
		  LD_LIBRARY64_PATH    /usr/lib64:/lib64

     The image file formats recognized by IFL are determined at	runtime	by
     searching for dynamic shared objects (DSOs) that contain the code for
     various file formats.  By default,	IFL will look for a database file
     describing	the file formats it supports named
     '/usr/lib/ifl/ifl_database'.  This	can be overridden by the environment
     variable, IFL_DATABASE, the value of which	is a absolute pathname for the
     database file.  The imgformats(1) command can be used to list the
     currently supported file formats.

     The set of	directories that IFL will search for dynamically loaded	file
     format DSOs is determined by the environment variable, LD_LIBRARY_PATH,
     LD_LIBRARYN32_PATH	or LD_LIBRARY64_PATH, depending	on the object-style of
     the application using IFL.	 This environment variable's usage is
     documented	in the rld(1) man page.


FILES

     /usr/lib*/libifl.so	 Base (C++) library
     /usr/lib*/libcifl.so	 C API wrapper library
     /usr/lib*/libifl*.so	 File format support libraries


     /usr/lib/ifl/ifl_database	 File format database
     /usr/share/data/images/	 Sample	images


SEE ALSO

     IFL(3), imgformats(1), rld(1)