Blame html/man/TIFFtile.3tiff.html

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

TIFFTILE

Packit Service db44fb
NAME
Packit Service db44fb
SYNOPSIS
Packit Service db44fb
DESCRIPTION
Packit Service db44fb
DIAGNOSTICS
Packit Service db44fb
SEE ALSO
Packit Service db44fb
Packit Service db44fb

Packit Service db44fb
Packit Service db44fb

NAME

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

TIFFTileSize, TIFFTileRowSize, TIFFVTileSize,

Packit Service db44fb
TIFFDefaultTileSize, TIFFComputeTile, TIFFCheckTile,
Packit Service db44fb
TIFFNumberOfTiles − tile-related utility routines

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

SYNOPSIS

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

#include <tiffio.h>

Packit Service db44fb
Packit Service db44fb

void TIFFDefaultTileSize(TIFF *tif,

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

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

DESCRIPTION

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

TIFFDefaultTileSize returns the pixel width and

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

Packit Service db44fb
Packit Service db44fb

TIFFTileSize returns the equivalent size for a

Packit Service db44fb
tile of data as it would be returned in a call to
Packit Service db44fb
TIFFReadTile or as it would be expected in a call to
Packit Service db44fb
TIFFWriteTile.

Packit Service db44fb
Packit Service db44fb

TIFFVTileSize returns the number of bytes in a

Packit Service db44fb
row-aligned tile with nrows of data.

Packit Service db44fb
Packit Service db44fb

TIFFTileRowSize returns the number of bytes of a

Packit Service db44fb
row of data in a tile.

Packit Service db44fb
Packit Service db44fb

TIFFComputeTile returns the tile that contains the

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

Packit Service db44fb
Packit Service db44fb

TIFFCheckTile returns a non-zero value if the

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

Packit Service db44fb
Packit Service db44fb

TIFFNumberOfTiles returns the number of tiles in

Packit Service db44fb
the image.

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

DIAGNOSTICS

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

None.

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

SEE ALSO

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
       cols="2" cellspacing="0" cellpadding="0">
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

TIFFReadEncodedTile(3TIFF),

Packit Service db44fb
TIFFReadRawTile(3TIFF), TIFFReadTile(3TIFF),
Packit Service db44fb
TIFFWriteEncodedTile(3TIFF),
Packit Service db44fb
TIFFWriteRawTile(3TIFF), TIFFWriteTile(3TIFF),
Packit Service db44fb
libtiff(3TIFF)

Packit Service db44fb
Packit Service db44fb

Libtiff library home page:

Packit Service db44fb
http://www.remotesensing.org/libtiff/

Packit Service db44fb
Packit Service db44fb
Packit Service db44fb

Packit Service db44fb
</body>
Packit Service db44fb
</html>