Blame html/man/TIFFtile.3tiff.html

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

TIFFTILE

Packit 85355f
NAME
Packit 85355f
SYNOPSIS
Packit 85355f
DESCRIPTION
Packit 85355f
DIAGNOSTICS
Packit 85355f
SEE ALSO
Packit 85355f
Packit 85355f

Packit 85355f
Packit 85355f

NAME

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

TIFFTileSize, TIFFTileRowSize, TIFFVTileSize,

Packit 85355f
TIFFDefaultTileSize, TIFFComputeTile, TIFFCheckTile,
Packit 85355f
TIFFNumberOfTiles − tile-related utility routines

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

SYNOPSIS

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

#include <tiffio.h>

Packit 85355f
Packit 85355f

void TIFFDefaultTileSize(TIFF *tif,

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

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

DESCRIPTION

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

TIFFDefaultTileSize returns the pixel width and

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

Packit 85355f
Packit 85355f

TIFFTileSize returns the equivalent size for a

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

Packit 85355f
Packit 85355f

TIFFVTileSize returns the number of bytes in a

Packit 85355f
row-aligned tile with nrows of data.

Packit 85355f
Packit 85355f

TIFFTileRowSize returns the number of bytes of a

Packit 85355f
row of data in a tile.

Packit 85355f
Packit 85355f

TIFFComputeTile returns the tile that contains the

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

Packit 85355f
Packit 85355f

TIFFCheckTile returns a non-zero value if the

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

Packit 85355f
Packit 85355f

TIFFNumberOfTiles returns the number of tiles in

Packit 85355f
the image.

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

DIAGNOSTICS

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

None.

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

SEE ALSO

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

TIFFReadEncodedTile(3TIFF),

Packit 85355f
TIFFReadRawTile(3TIFF), TIFFReadTile(3TIFF),
Packit 85355f
TIFFWriteEncodedTile(3TIFF),
Packit 85355f
TIFFWriteRawTile(3TIFF), TIFFWriteTile(3TIFF),
Packit 85355f
libtiff(3TIFF)

Packit 85355f
Packit 85355f

Libtiff library home page:

Packit 85355f
http://www.simplesystems.org/libtiff/

Packit 85355f
Packit 85355f
Packit 85355f

Packit 85355f
</body>
Packit 85355f
</html>