QUERY(3T)         MISC. REFERENCE MANUAL PAGES          QUERY(3T)

NAME
     TIFFCurrentRow,      TIFFCurrentStrip,      TIFFCurrentTile,
     TIFFCurrentDirectory, TIFFFileno, TIFFFileName, TIFFGetMode,
     TIFFIsTiled, TIFFIsByteSwapped  - query routines

SYNOPSIS
     #include <tiffio.h>
     uint32 TIFFCurrentRow(TIFF* tif)
     tstrip_t TIFFCurrentStrip(TIFF* tif)
     ttile_t TIFFCurrentTile(TIFF* tif)
     tdir_t TIFFCurrentDirectory(TIFF* tif)
     int TIFFFileno(TIFF* tif)
     char* TIFFFileName(TIFF* tif)
     int TIFFGetMode(TIFF* tif)
     int TIFFIsTiled(TIFF* tif)
     int TIFFIsByteSwapped(TIFF* tif)
     const char* TIFFGetVersion(void)

DESCRIPTION
     The following routines return status  information  about  an
     open TIFF file.

     TIFFCurrentDirectory returns the index of the current direc-
     tory  (directories are numbered starting at 0).  This number
     is suitable for use with the TIFFSetDirectory routine.

     TIFFCurrentRow,   TIFFCurrentStrip,   and   TIFFCurrentTile,
     return  the current row, strip, and tile, respectively, that
     is being read or written.  These  values  are  updated  each
     time a read or write is done.

     TIFFFileno returns the underlying file  descriptor  used  to
     access the TIFF image in the filesystem.

     TIFFFileName returns the pathname argument  passed  to  TIF-
     FOpen or TIFFFdOpen.

     TIFFGetMode returns the mode with which the underlying  file
     was  opened.   On  UNIX systems, this is the value passed to
     the open(2) system call.

     TIFFIsTiled returns a non-zero value if the image data has a
     tiled  organization.   Zero is returned if the image data is
     organized in strips.

     TIFFIsByteSwapped returns a non-zero value if the image data
     was  in  a different byte-order than the host machine.  Zero
     is returned if the image data and local host byte-orders are
     the  same.  Data samples that are more than 8 bits wide must
     be byte-swapped by the application.

Sun Release 4.1  Last change: December 16, 1991                 1

QUERY(3T)         MISC. REFERENCE MANUAL PAGES          QUERY(3T)

     TIFFGetVersion returns an ASCII string that  has  a  version
     stamp for the TIFF library software.

DIAGNOSTICS
     None.

SEE ALSO
     intro(3T), TIFFOpen(3T), TIFFFdOpen(3T)

Sun Release 4.1  Last change: December 16, 1991                 2