TIFFGT(1)                USER COMMANDS                  TIFFGT(1)

NAME
     tiffgt - display an image stored in  a  TIFF  file  (Silicon
     Graphics version)

SYNOPSIS
     tiffgt [ options ] input.tif

DESCRIPTION
     tiffgt displays an image stored in a file with the Tag Image
     File  Format,  Revision 6.0.  The image is placed in a fixed
     size window that the user must position on the display.   If
     the  display  has  fewer  than 24 bitplanes, or if the image
     does not warrant full  color,  then  RGB  color  values  are
     mapped  to  the  closest  values  that exist in the colormap
     (this is done using the rgbi routine found in  the  graphics
     utility library -lgutil.)

     tiffgt correctly handles files with  any  of  the  following
     characteristics:

          BitsPerSample              1, 2, 4, 8, 16
          SamplesPerPixel            1, 3, 4 (the 4th sample is ignored)
          PhotometricInterpretation  0 (min-is-white), 1 (min-is-black), 2 (RGB), 3 (palette), 6 (YCbCr)
          PlanarConfiguration        1 (contiguous), 2 (separate)
          Orientation                1 (top-left), 4 (bottom-left)
     Data may  be  organized  as  strips  or  tiles  and  may  be
     compressed  with any of the compression algorithms supported
     by the libtiff(3) library.

     For  palette  images  (PhotomatricInterpretation=3),  tiffgt
     inspects  the  colormap  values and assumes either 16-bit or
     8-bit values according to the maximum value.  That is, if no
     colormap entry greater than 255 is found, tiffgt assumes the
     colormap has only 8-bit values; otherwise it assumes  16-bit
     values.   This inspection is done to handle old images writ-
     ten by previous (incorrect) versions of libtiff.

OPTIONS
     -c   Force image display in a colormap window.

     -d   Specify an image to display by  directory  number.   By
          default  the  first  image  in  the  file is displayed.
          Directories are numbered starting at zero.

     -f   Force tiffgt  to  run  as  a  foreground  process.   By
          default tiffgt will place itself in the background once
          it has opened the requested image file.

     -l   Force the presumed bit ordering to be LSB to MSB.

     -m   Force the presumed bit ordering to be MSB to LSB.

Sun Release 4.1  Last change: September 26, 1994                1

TIFFGT(1)                USER COMMANDS                  TIFFGT(1)

     -o   Specify an image to display by  directory  offset.   By
          default  the  first  image  in  the  file is displayed.
          Directories offsets may be specified using C-style syn-
          tax;  i.e. a leading ``0x'' for hexadecimal and a lead-
          ing ``0'' for octal.

     -r   Force image display in a full color window.

     -s   Stop on the first read error.  By default all errors in
          the input data are ignored and tiffgt does it's best to
          display as much of an image as possible.

     -v   Place information in the title bar describing what type
          of  window  (full color or colormap) is being used, the
          name of the input file, and the directory index of  the
          image  (if  non-zero).   By default, the window type is
          not shown in the title bar.

BUGS
     Images wider and taller than the display are silently  trun-
     cated to avoid crashing old versions of the window manager.

SEE ALSO
     tiffdump(1), tiffinfo(1), tiffcp(1), libtiff(3)

Sun Release 4.1  Last change: September 26, 1994                2