Blame html/man/TIFFtile.3tiff.html

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

TIFFTILE

Packit 7838c8
NAME
Packit 7838c8
SYNOPSIS
Packit 7838c8
DESCRIPTION
Packit 7838c8
DIAGNOSTICS
Packit 7838c8
SEE ALSO
Packit 7838c8
Packit 7838c8

Packit 7838c8
Packit 7838c8

NAME

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

TIFFTileSize, TIFFTileRowSize, TIFFVTileSize,

Packit 7838c8
TIFFDefaultTileSize, TIFFComputeTile, TIFFCheckTile,
Packit 7838c8
TIFFNumberOfTiles − tile-related utility routines

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

SYNOPSIS

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

#include <tiffio.h>

Packit 7838c8
Packit 7838c8

void TIFFDefaultTileSize(TIFF *tif,

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

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

DESCRIPTION

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

TIFFDefaultTileSize returns the pixel width and

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

Packit 7838c8
Packit 7838c8

TIFFTileSize returns the equivalent size for a

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

Packit 7838c8
Packit 7838c8

TIFFVTileSize returns the number of bytes in a

Packit 7838c8
row-aligned tile with nrows of data.

Packit 7838c8
Packit 7838c8

TIFFTileRowSize returns the number of bytes of a

Packit 7838c8
row of data in a tile.

Packit 7838c8
Packit 7838c8

TIFFComputeTile returns the tile that contains the

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

Packit 7838c8
Packit 7838c8

TIFFCheckTile returns a non-zero value if the

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

Packit 7838c8
Packit 7838c8

TIFFNumberOfTiles returns the number of tiles in

Packit 7838c8
the image.

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

DIAGNOSTICS

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

None.

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

SEE ALSO

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

TIFFReadEncodedTile(3TIFF),

Packit 7838c8
TIFFReadRawTile(3TIFF), TIFFReadTile(3TIFF),
Packit 7838c8
TIFFWriteEncodedTile(3TIFF),
Packit 7838c8
TIFFWriteRawTile(3TIFF), TIFFWriteTile(3TIFF),
Packit 7838c8
libtiff(3TIFF)

Packit 7838c8
Packit 7838c8

Libtiff library home page:

Packit 7838c8
http://www.simplesystems.org/libtiff/

Packit 7838c8
Packit 7838c8
Packit 7838c8

Packit 7838c8
</body>
Packit 7838c8
</html>