Blame html/man/TIFFquery.3tiff.html

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
<html>
Packit Service 2594b8
<head>
Packit Service 2594b8
<meta name="generator" content="groff -Thtml, see www.gnu.org">
Packit Service 2594b8
<meta name="Content-Style" content="text/css">
Packit Service 2594b8
<title>QUERY</title>
Packit Service 2594b8
</head>
Packit Service 2594b8
<body>
Packit Service 2594b8
Packit Service 2594b8

QUERY

Packit Service 2594b8
NAME
Packit Service 2594b8
SYNOPSIS
Packit Service 2594b8
DESCRIPTION
Packit Service 2594b8
DIAGNOSTICS
Packit Service 2594b8
SEE ALSO
Packit Service 2594b8
Packit Service 2594b8

Packit Service 2594b8
Packit Service 2594b8

NAME

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

TIFFCurrentRow, TIFFCurrentStrip, TIFFCurrentTile,

Packit Service 2594b8
TIFFCurrentDirectory, TIFFLastDirectory, TIFFFileno,
Packit Service 2594b8
TIFFFileName, TIFFGetMode, TIFFIsTiled, TIFFIsByteSwapped,
Packit Service 2594b8
TIFFIsUpSampled, TIFFIsMSB2LSB, TIFFGetVersion − query
Packit Service 2594b8
routines

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

SYNOPSIS

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

#include <tiffio.h>

Packit Service 2594b8
Packit Service 2594b8

uint32 TIFFCurrentRow(TIFF* tif)

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

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

DESCRIPTION

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

The following routines return status information about an

Packit Service 2594b8
open <small>TIFF</small> file.

Packit Service 2594b8
Packit Service 2594b8

TIFFCurrentDirectory returns the index of the

Packit Service 2594b8
current directory (directories are numbered starting at 0).
Packit Service 2594b8
This number is suitable for use with the
Packit Service 2594b8
TIFFSetDirectory routine.

Packit Service 2594b8
Packit Service 2594b8

TIFFLastDirectory returns a non-zero value if the

Packit Service 2594b8
current directory is the last directory in the file;
Packit Service 2594b8
otherwise zero is returned.

Packit Service 2594b8
Packit Service 2594b8

TIFFCurrentRow, TIFFCurrentStrip, and

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

Packit Service 2594b8
Packit Service 2594b8

TIFFFileno returns the underlying file descriptor

Packit Service 2594b8
used to access the <small>TIFF</small> image in the
Packit Service 2594b8
filesystem.

Packit Service 2594b8
Packit Service 2594b8

TIFFFileName returns the pathname argument passed

Packit Service 2594b8
to TIFFOpen or TIFFFdOpen.

Packit Service 2594b8
Packit Service 2594b8

TIFFGetMode returns the mode with which the

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

Packit Service 2594b8
Packit Service 2594b8

TIFFIsTiled returns a non-zero value if the image

Packit Service 2594b8
data has a tiled organization. Zero is returned if the image
Packit Service 2594b8
data is organized in strips.

Packit Service 2594b8
Packit Service 2594b8

TIFFIsByteSwapped returns a non-zero value if the

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

Packit Service 2594b8
Packit Service 2594b8

TIFFIsUpSampled returns a non-zero value if image

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

Packit Service 2594b8
Packit Service 2594b8

TIFFIsMSB2LSB returns a non-zero value if the

Packit Service 2594b8
image data is being returned with bit 0 as the most
Packit Service 2594b8
significant bit.

Packit Service 2594b8
Packit Service 2594b8

TIFFGetVersion returns an <small>ASCII</small>

Packit Service 2594b8
string that has a version stamp for the <small>TIFF</small>
Packit Service 2594b8
library software.

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

DIAGNOSTICS

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

None.

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

SEE ALSO

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

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

Packit Service 2594b8
TIFFFdOpen(3TIFF)

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

Packit Service 2594b8
</body>
Packit Service 2594b8
</html>