|
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>TIFFReadEncodedTile</title>
|
|
Packit Service |
db44fb |
</head>
|
|
Packit Service |
db44fb |
<body>
|
|
Packit Service |
db44fb |
|
|
Packit Service |
db44fb |
TIFFReadEncodedTile
|
|
Packit Service |
db44fb |
NAME
|
|
Packit Service |
db44fb |
SYNOPSIS
|
|
Packit Service |
db44fb |
DESCRIPTION
|
|
Packit Service |
db44fb |
NOTES
|
|
Packit Service |
db44fb |
RETURN VALUES
|
|
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 |
TIFFReadEncodedTile − read and decode a tile of
|
|
Packit Service |
db44fb |
data from an open <small>TIFF</small> file
|
|
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 |
int TIFFReadEncodedTile(TIFF *tif,
|
|
Packit Service |
db44fb |
ttile_t tile, tdata_t buf,
|
|
Packit Service |
db44fb |
tsize_t size)
|
|
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 |
Read the specified tile of data and place up to
|
|
Packit Service |
db44fb |
size bytes of decompressed information in the (user
|
|
Packit Service |
db44fb |
supplied) data buffer.
|
|
Packit Service |
db44fb |
|
|
Packit Service |
db44fb |
|
|
Packit Service |
db44fb |
|
|
Packit Service |
db44fb |
NOTES
|
|
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 |
The value of tile is a ‘‘raw tile
|
|
Packit Service |
db44fb |
number.’’ That is, the caller must take into
|
|
Packit Service |
db44fb |
account whether or not the data are organized in separate
|
|
Packit Service |
db44fb |
planes (PlanarConfiguration=2).
|
|
Packit Service |
db44fb |
TIFFComputeTile automatically does this when
|
|
Packit Service |
db44fb |
converting an (x,y,z,sample) coordinate quadruple to a tile
|
|
Packit Service |
db44fb |
number. To read a full tile of data the data buffer should
|
|
Packit Service |
db44fb |
be at least as large as the value returned by
|
|
Packit Service |
db44fb |
TIFFTileSize.
|
|
Packit Service |
db44fb |
|
|
Packit Service |
db44fb |
The library attempts to hide bit- and byte-ordering
|
|
Packit Service |
db44fb |
differences between the image and the native machine by
|
|
Packit Service |
db44fb |
converting data to the native machine order. Bit reversal is
|
|
Packit Service |
db44fb |
done if the FillOrder tag is opposite to the native
|
|
Packit Service |
db44fb |
machine bit order. 16- and 32-bit samples are automatically
|
|
Packit Service |
db44fb |
byte-swapped if the file was written with a byte order
|
|
Packit Service |
db44fb |
opposite to the native machine byte order,
|
|
Packit Service |
db44fb |
|
|
Packit Service |
db44fb |
|
|
Packit Service |
db44fb |
|
|
Packit Service |
db44fb |
RETURN VALUES
|
|
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 |
The actual number of bytes of data that were placed in
|
|
Packit Service |
db44fb |
buf is returned; TIFFReadEncodedTile returns
|
|
Packit Service |
db44fb |
−1 if an error was encountered.
|
|
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 |
All error messages are directed to the
|
|
Packit Service |
db44fb |
TIFFError(3TIFF) routine.
|
|
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 |
TIFFOpen(3TIFF), TIFFReadRawTile(3TIFF),
|
|
Packit Service |
db44fb |
TIFFReadTile(3TIFF), 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>
|