roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
<meta content="groff -Thtml, see www.gnu.org" name="generator">
roentgen b75cab
<meta content="text/css" name="Content-Style">
roentgen b75cab
<title>QUERY</title>
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

QUERY

roentgen b75cab
NAME
roentgen b75cab
SYNOPSIS
roentgen b75cab
DESCRIPTION
roentgen b75cab
DIAGNOSTICS
roentgen b75cab
SEE ALSO
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab

NAME

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFCurrentRow, TIFFCurrentStrip, TIFFCurrentTile,

roentgen b75cab
TIFFCurrentDirectory, TIFFLastDirectory, TIFFFileno,
roentgen b75cab
TIFFFileName, TIFFGetMode, TIFFIsTiled, TIFFIsByteSwapped,
roentgen b75cab
TIFFIsUpSampled, TIFFIsMSB2LSB, TIFFGetVersion − query
roentgen b75cab
routines

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SYNOPSIS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

#include <tiffio.h>

roentgen b75cab
roentgen b75cab

uint32 TIFFCurrentRow(TIFF* tif)

roentgen b75cab
tstrip_t TIFFCurrentStrip(TIFF* tif)
roentgen b75cab
ttile_t TIFFCurrentTile(TIFF* tif)
roentgen b75cab
tdir_t TIFFCurrentDirectory(TIFF* tif)
roentgen b75cab
int TIFFLastDirectory(TIFF* tif)
roentgen b75cab
int TIFFFileno(TIFF* tif)
roentgen b75cab
char* TIFFFileName(TIFF* tif)
roentgen b75cab
int TIFFGetMode(TIFF* tif)
roentgen b75cab
int TIFFIsTiled(TIFF* tif)
roentgen b75cab
int TIFFIsByteSwapped(TIFF* tif)
roentgen b75cab
int TIFFIsUpSampled(TIFF* tif)
roentgen b75cab
int TIFFIsMSB2LSB(TIFF* tif)
roentgen b75cab
const char* TIFFGetVersion(void)

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DESCRIPTION

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

The following routines return status information about an

roentgen b75cab
open <small>TIFF</small> file.

roentgen b75cab
roentgen b75cab

TIFFCurrentDirectory returns the index of the

roentgen b75cab
current directory (directories are numbered starting at 0).
roentgen b75cab
This number is suitable for use with the
roentgen b75cab
TIFFSetDirectory routine.

roentgen b75cab
roentgen b75cab

TIFFLastDirectory returns a non-zero value if the

roentgen b75cab
current directory is the last directory in the file;
roentgen b75cab
otherwise zero is returned.

roentgen b75cab
roentgen b75cab

TIFFCurrentRow, TIFFCurrentStrip, and

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

roentgen b75cab
roentgen b75cab

TIFFFileno returns the underlying file descriptor

roentgen b75cab
used to access the <small>TIFF</small> image in the
roentgen b75cab
filesystem.

roentgen b75cab
roentgen b75cab

TIFFFileName returns the pathname argument passed

roentgen b75cab
to TIFFOpen or TIFFFdOpen.

roentgen b75cab
roentgen b75cab

TIFFGetMode returns the mode with which the

roentgen b75cab
underlying file was opened. On <small>UNIX</small> systems,
roentgen b75cab
this is the value passed to the open(2) system
roentgen b75cab
call.

roentgen b75cab
roentgen b75cab

TIFFIsTiled returns a non-zero value if the image

roentgen b75cab
data has a tiled organization. Zero is returned if the image
roentgen b75cab
data is organized in strips.

roentgen b75cab
roentgen b75cab

TIFFIsByteSwapped returns a non-zero value if the

roentgen b75cab
image data was in a different byte-order than the host
roentgen b75cab
machine. Zero is returned if the TIFF file and local host
roentgen b75cab
byte-orders are the same. Note that TIFFReadTile(),
roentgen b75cab
TIFFReadStrip() and TIFFReadScanline() functions already
roentgen b75cab
normally perform byte swapping to local host order if
roentgen b75cab
needed.

roentgen b75cab
roentgen b75cab

TIFFIsUpSampled returns a non-zero value if image

roentgen b75cab
data returned through the read interface routines is being
roentgen b75cab
up-sampled. This can be useful to applications that want to
roentgen b75cab
calculate I/O buffer sizes to reflect this usage (though the
roentgen b75cab
usual strip and tile size routines already do this).

roentgen b75cab
roentgen b75cab

TIFFIsMSB2LSB returns a non-zero value if the

roentgen b75cab
image data is being returned with bit 0 as the most
roentgen b75cab
significant bit.

roentgen b75cab
roentgen b75cab

TIFFGetVersion returns an <small>ASCII</small>

roentgen b75cab
string that has a version stamp for the <small>TIFF</small>
roentgen b75cab
library software.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DIAGNOSTICS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

None.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SEE ALSO

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

libtiff(3TIFF), TIFFOpen(3TIFF),

roentgen b75cab
TIFFFdOpen(3TIFF)

roentgen b75cab
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab