Blame thirdparty/LibTIFF/tiff-4.0.3/html/man/TIFFReadEncodedTile.3tiff.html

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>TIFFReadEncodedTile</title>
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TIFFReadEncodedTile

kusano 7d535a
NAME
kusano 7d535a
SYNOPSIS
kusano 7d535a
DESCRIPTION
kusano 7d535a
NOTES
kusano 7d535a
RETURN VALUES
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

TIFFReadEncodedTile − read and decode a tile of

kusano 7d535a
data from an open <small>TIFF</small> file

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

int TIFFReadEncodedTile(TIFF *tif,

kusano 7d535a
ttile_t tile, tdata_t buf,
kusano 7d535a
tsize_t size)

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

Read the specified tile of data and place up to

kusano 7d535a
size bytes of decompressed information in the (user
kusano 7d535a
supplied) data buffer.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

NOTES

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

The value of tile is a ‘‘raw tile

kusano 7d535a
number.’’ That is, the caller must take into
kusano 7d535a
account whether or not the data are organized in separate
kusano 7d535a
planes (PlanarConfiguration=2).
kusano 7d535a
TIFFComputeTile automatically does this when
kusano 7d535a
converting an (x,y,z,sample) coordinate quadruple to a tile
kusano 7d535a
number. To read a full tile of data the data buffer should
kusano 7d535a
be at least as large as the value returned by
kusano 7d535a
TIFFTileSize.

kusano 7d535a
kusano 7d535a

The library attempts to hide bit- and byte-ordering

kusano 7d535a
differences between the image and the native machine by
kusano 7d535a
converting data to the native machine order. Bit reversal is
kusano 7d535a
done if the FillOrder tag is opposite to the native
kusano 7d535a
machine bit order. 16- and 32-bit samples are automatically
kusano 7d535a
byte-swapped if the file was written with a byte order
kusano 7d535a
opposite to the native machine byte order,

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

RETURN VALUES

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

The actual number of bytes of data that were placed in

kusano 7d535a
buf is returned; TIFFReadEncodedTile returns
kusano 7d535a
−1 if an error was encountered.

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

All error messages are directed to the

kusano 7d535a
TIFFError(3TIFF) routine.

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

TIFFOpen(3TIFF), TIFFReadRawTile(3TIFF),

kusano 7d535a
TIFFReadTile(3TIFF), 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