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>TIFFTILE</title>
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFTILE

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

TIFFTileSize, TIFFTileRowSize, TIFFVTileSize,

roentgen b75cab
TIFFDefaultTileSize, TIFFComputeTile, TIFFCheckTile,
roentgen b75cab
TIFFNumberOfTiles − tile-related utility 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

void TIFFDefaultTileSize(TIFF *tif,

roentgen b75cab
uint32 *tw, uint32 *th)
roentgen b75cab
tsize_t TIFFTileSize(TIFF *tif)
roentgen b75cab
tsize_t TIFFTileRowSize(TIFF *tif)
roentgen b75cab
tsize_t TIFFVTileSize(TIFF *tif, uint32
roentgen b75cab
nrows)
roentgen b75cab
ttile_t TIFFComputeTile(TIFF *tif, uint32
roentgen b75cab
x, uint32 y, uint32 z,
roentgen b75cab
tsample_t sample)
roentgen b75cab
int TIFFCheckTile(TIFF *tif, uint32
roentgen b75cab
x, uint32 y, uint32 z,
roentgen b75cab
tsample_t sample)
roentgen b75cab
ttile_t TIFFNumberOfTiles(TIFF *tif)

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

TIFFDefaultTileSize returns the pixel width and

roentgen b75cab
height of a reasonable-sized tile; suitable for setting up
roentgen b75cab
the TileWidth and TileLength tags. If the
roentgen b75cab
tw and th values passed in are non-zero, then
roentgen b75cab
they are adjusted to reflect any compression-specific
roentgen b75cab
requirements. The returned width and height are constrained
roentgen b75cab
to be a multiple of 16 pixels to conform with the
roentgen b75cab
<small>TIFF</small> specification.

roentgen b75cab
roentgen b75cab

TIFFTileSize returns the equivalent size for a

roentgen b75cab
tile of data as it would be returned in a call to
roentgen b75cab
TIFFReadTile or as it would be expected in a call to
roentgen b75cab
TIFFWriteTile.

roentgen b75cab
roentgen b75cab

TIFFVTileSize returns the number of bytes in a

roentgen b75cab
row-aligned tile with nrows of data.

roentgen b75cab
roentgen b75cab

TIFFTileRowSize returns the number of bytes of a

roentgen b75cab
row of data in a tile.

roentgen b75cab
roentgen b75cab

TIFFComputeTile returns the tile that contains the

roentgen b75cab
specified coordinates. A valid tile is always returned;
roentgen b75cab
out-of-range coordinate values are clamped to the bounds of
roentgen b75cab
the image. The x and y parameters are always
roentgen b75cab
used in calculating a tile. The z parameter is used
roentgen b75cab
if the image is deeper than 1 slice
roentgen b75cab
(ImageDepth>1). The sample parameter is
roentgen b75cab
used only if data are organized in separate planes
roentgen b75cab
(PlanarConfiguration=2).

roentgen b75cab
roentgen b75cab

TIFFCheckTile returns a non-zero value if the

roentgen b75cab
supplied coordinates are within the bounds of the image and
roentgen b75cab
zero otherwise. The x parameter is checked against
roentgen b75cab
the value of the ImageWidth tag. The y
roentgen b75cab
parameter is checked against the value of the
roentgen b75cab
ImageLength tag. The z parameter is checked
roentgen b75cab
against the value of the ImageDepth tag (if defined).
roentgen b75cab
The sample parameter is checked against the value of
roentgen b75cab
the SamplesPerPixel parameter if the data are
roentgen b75cab
organized in separate planes.

roentgen b75cab
roentgen b75cab

TIFFNumberOfTiles returns the number of tiles in

roentgen b75cab
the image.

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

TIFFReadEncodedTile(3TIFF),

roentgen b75cab
TIFFReadRawTile(3TIFF), TIFFReadTile(3TIFF),
roentgen b75cab
TIFFWriteEncodedTile(3TIFF),
roentgen b75cab
TIFFWriteRawTile(3TIFF), TIFFWriteTile(3TIFF),
roentgen b75cab
libtiff(3TIFF)

roentgen b75cab
roentgen b75cab

Libtiff library home page:

roentgen b75cab
http://www.remotesensing.org/libtiff/

roentgen b75cab
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab