IFL(1)

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, BMP and Raw formats on all platforms.  On IRIX, support for PPM, Photo CD, FIT, XPM, XBM, NITF, USGS DOQ, SGI movie file, QuickTime, Alias|WaveFront, SOFTIMAGE and YUV file formats is also included. 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 Irix Default WIN32 Default
IFL_DATABASE   /usr/lib/ifl/ifl_database   <WINDIR>\ifl_database
IFL_DEBUG 0 0
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 'ifl_database'. This can be overridden by the environment variable, IFL_DATABASE, the value of which is a absolute pathname for the database file. On IRIX, the imgformats(1) command can be used to list the currently supported file formats.

If the IFL_DEBUG environment variable is set then some potentially helpful debugging messages will be printed if the default error handler is used.

On IRIX, 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.
On WIN32 the set of directories is controlled by the environment setting for PATH.

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)