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

QUERY

kusano 7d535a
NAME
kusano 7d535a
SYNOPSIS
kusano 7d535a
DESCRIPTION
kusano 7d535a
DIAGNOSTICS
kusano 7d535a
SEE ALSO
kusano 7d535a
kusano 7d535a

kusano 7d535a
kusano 7d535a

NAME

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TIFFCurrentRow, TIFFCurrentStrip, TIFFCurrentTile,

kusano 7d535a
TIFFCurrentDirectory, TIFFLastDirectory, TIFFFileno,
kusano 7d535a
TIFFFileName, TIFFGetMode, TIFFIsTiled, TIFFIsByteSwapped,
kusano 7d535a
TIFFIsUpSampled, TIFFIsMSB2LSB, TIFFGetVersion − query
kusano 7d535a
routines

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

SYNOPSIS

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

#include <tiffio.h>

kusano 7d535a
kusano 7d535a

uint32 TIFFCurrentRow(TIFF* tif)

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

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

DESCRIPTION

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

The following routines return status information about an

kusano 7d535a
open <small>TIFF</small> file.

kusano 7d535a
kusano 7d535a

TIFFCurrentDirectory returns the index of the

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

kusano 7d535a
kusano 7d535a

TIFFLastDirectory returns a non-zero value if the

kusano 7d535a
current directory is the last directory in the file;
kusano 7d535a
otherwise zero is returned.

kusano 7d535a
kusano 7d535a

TIFFCurrentRow, TIFFCurrentStrip, and

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

kusano 7d535a
kusano 7d535a

TIFFFileno returns the underlying file descriptor

kusano 7d535a
used to access the <small>TIFF</small> image in the
kusano 7d535a
filesystem.

kusano 7d535a
kusano 7d535a

TIFFFileName returns the pathname argument passed

kusano 7d535a
to TIFFOpen or TIFFFdOpen.

kusano 7d535a
kusano 7d535a

TIFFGetMode returns the mode with which the

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

kusano 7d535a
kusano 7d535a

TIFFIsTiled returns a non-zero value if the image

kusano 7d535a
data has a tiled organization. Zero is returned if the image
kusano 7d535a
data is organized in strips.

kusano 7d535a
kusano 7d535a

TIFFIsByteSwapped returns a non-zero value if the

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

kusano 7d535a
kusano 7d535a

TIFFIsUpSampled returns a non-zero value if image

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

kusano 7d535a
kusano 7d535a

TIFFIsMSB2LSB returns a non-zero value if the

kusano 7d535a
image data is being returned with bit 0 as the most
kusano 7d535a
significant bit.

kusano 7d535a
kusano 7d535a

TIFFGetVersion returns an <small>ASCII</small>

kusano 7d535a
string that has a version stamp for the <small>TIFF</small>
kusano 7d535a
library software.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

DIAGNOSTICS

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

None.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

SEE ALSO

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

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

kusano 7d535a
TIFFFdOpen(3TIFF)

kusano 7d535a
kusano 7d535a
kusano 7d535a

kusano 7d535a
kusano 7d535a