roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
<meta content="groff -Thtml, see www.gnu.org" name="generator">
roentgen b75cab
<meta content="text/css" name="Content-Style">
roentgen b75cab
<title>TIFFReadRawTile</title>
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFReadRawTile

roentgen b75cab
NAME
roentgen b75cab
SYNOPSIS
roentgen b75cab
DESCRIPTION
roentgen b75cab
RETURN VALUES
roentgen b75cab
DIAGNOSTICS
roentgen b75cab
SEE ALSO
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab

NAME

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFReadRawTile − return an undecoded tile of data

roentgen b75cab
from an open <small>TIFF</small> file

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SYNOPSIS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

#include <tiffio.h>

roentgen b75cab
roentgen b75cab

tsize_t TIFFReadRawTile(TIFF *tif,

roentgen b75cab
ttile_t tile, tdata_t buf,
roentgen b75cab
tsize_t size)

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DESCRIPTION

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Read the contents of the specified tile into the (user

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

RETURN VALUES

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

The actual number of bytes of data that were placed in

roentgen b75cab
buf is returned; TIFFReadEncodedTile returns
roentgen b75cab
−1 if an error was encountered.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DIAGNOSTICS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

All error messages are directed to the

roentgen b75cab
TIFFError(3TIFF) routine.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SEE ALSO

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFOpen(3TIFF),

roentgen b75cab
TIFFReadEncodedTile(3TIFF),
roentgen b75cab
TIFFReadTile(3TIFF), TIFFTileSize(3TIFF),
roentgen b75cab
libtiff(3TIFF)

roentgen b75cab
roentgen b75cab

Libtiff library home page:

roentgen b75cab
http://www.remotesensing.org/libtiff/

roentgen b75cab
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab