|
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>TIFFTILE</title>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFTILE
|
|
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 |
TIFFTileSize, TIFFTileRowSize, TIFFVTileSize,
|
|
kusano |
7d535a |
TIFFDefaultTileSize, TIFFComputeTile, TIFFCheckTile,
|
|
kusano |
7d535a |
TIFFNumberOfTiles − tile-related utility 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 |
void TIFFDefaultTileSize(TIFF *tif,
|
|
kusano |
7d535a |
uint32 *tw, uint32 *th)
|
|
kusano |
7d535a |
tsize_t TIFFTileSize(TIFF *tif)
|
|
kusano |
7d535a |
tsize_t TIFFTileRowSize(TIFF *tif)
|
|
kusano |
7d535a |
tsize_t TIFFVTileSize(TIFF *tif, uint32
|
|
kusano |
7d535a |
nrows)
|
|
kusano |
7d535a |
ttile_t TIFFComputeTile(TIFF *tif, uint32
|
|
kusano |
7d535a |
x, uint32 y, uint32 z,
|
|
kusano |
7d535a |
tsample_t sample)
|
|
kusano |
7d535a |
int TIFFCheckTile(TIFF *tif, uint32
|
|
kusano |
7d535a |
x, uint32 y, uint32 z,
|
|
kusano |
7d535a |
tsample_t sample)
|
|
kusano |
7d535a |
ttile_t TIFFNumberOfTiles(TIFF *tif)
|
|
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 |
TIFFDefaultTileSize returns the pixel width and
|
|
kusano |
7d535a |
height of a reasonable-sized tile; suitable for setting up
|
|
kusano |
7d535a |
the TileWidth and TileLength tags. If the
|
|
kusano |
7d535a |
tw and th values passed in are non-zero, then
|
|
kusano |
7d535a |
they are adjusted to reflect any compression-specific
|
|
kusano |
7d535a |
requirements. The returned width and height are constrained
|
|
kusano |
7d535a |
to be a multiple of 16 pixels to conform with the
|
|
kusano |
7d535a |
<small>TIFF</small> specification.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFTileSize returns the equivalent size for a
|
|
kusano |
7d535a |
tile of data as it would be returned in a call to
|
|
kusano |
7d535a |
TIFFReadTile or as it would be expected in a call to
|
|
kusano |
7d535a |
TIFFWriteTile.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFVTileSize returns the number of bytes in a
|
|
kusano |
7d535a |
row-aligned tile with nrows of data.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFTileRowSize returns the number of bytes of a
|
|
kusano |
7d535a |
row of data in a tile.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFComputeTile returns the tile that contains the
|
|
kusano |
7d535a |
specified coordinates. A valid tile is always returned;
|
|
kusano |
7d535a |
out-of-range coordinate values are clamped to the bounds of
|
|
kusano |
7d535a |
the image. The x and y parameters are always
|
|
kusano |
7d535a |
used in calculating a tile. The z parameter is used
|
|
kusano |
7d535a |
if the image is deeper than 1 slice
|
|
kusano |
7d535a |
(ImageDepth>1). The sample parameter is
|
|
kusano |
7d535a |
used only if data are organized in separate planes
|
|
kusano |
7d535a |
(PlanarConfiguration=2).
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFCheckTile returns a non-zero value if the
|
|
kusano |
7d535a |
supplied coordinates are within the bounds of the image and
|
|
kusano |
7d535a |
zero otherwise. The x parameter is checked against
|
|
kusano |
7d535a |
the value of the ImageWidth tag. The y
|
|
kusano |
7d535a |
parameter is checked against the value of the
|
|
kusano |
7d535a |
ImageLength tag. The z parameter is checked
|
|
kusano |
7d535a |
against the value of the ImageDepth tag (if defined).
|
|
kusano |
7d535a |
The sample parameter is checked against the value of
|
|
kusano |
7d535a |
the SamplesPerPixel parameter if the data are
|
|
kusano |
7d535a |
organized in separate planes.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFNumberOfTiles returns the number of tiles in
|
|
kusano |
7d535a |
the image.
|
|
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 |
TIFFReadEncodedTile(3TIFF),
|
|
kusano |
7d535a |
TIFFReadRawTile(3TIFF), TIFFReadTile(3TIFF),
|
|
kusano |
7d535a |
TIFFWriteEncodedTile(3TIFF),
|
|
kusano |
7d535a |
TIFFWriteRawTile(3TIFF), TIFFWriteTile(3TIFF),
|
|
kusano |
7d535a |
libtiff(3TIFF)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Libtiff library home page:
|
|
kusano |
7d535a |
http://www.remotesensing.org/libtiff/
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|