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>TIFFWriteTile</title>
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFFWriteTile

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

TIFFWriteTile − encode and write a tile of data to

roentgen b75cab
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 TIFFWriteTile(TIFF *tif,

roentgen b75cab
tdata_t buf, uint32 x,
roentgen b75cab
uint32 y, uint32 z,
roentgen b75cab
tsample_t sample)

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

Write the data for the tile containing the

roentgen b75cab
specified coordinates. The data in buf are is
roentgen b75cab
(potentially) compressed, and written to the indicated file,
roentgen b75cab
normally being appended to the end of the file. The buffer
roentgen b75cab
must be contain an entire tile of data. Applications should
roentgen b75cab
call the routine TIFFTileSize to find out the size
roentgen b75cab
(in bytes) of a tile buffer. The x and y
roentgen b75cab
parameters are always used by TIFFWriteTile. The
roentgen b75cab
z parameter is used if the image is deeper than 1
roentgen b75cab
slice (ImageDepth>1). The sample parameter
roentgen b75cab
is used only if data are organized in separate planes
roentgen b75cab
(PlanarConfiguration=2).

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

TIFFWriteTile returns −1 if it detects an

roentgen b75cab
error; otherwise the number of bytes in the tile is
roentgen b75cab
returned.

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

TIFFCheckTile(3TIFF),

roentgen b75cab
TIFFComputeTile(3TIFF), TIFFOpen(3TIFF),
roentgen b75cab
TIFFReadTile(3TIFF), TIFFWriteScanline(3TIFF),
roentgen b75cab
TIFFWriteEncodedTile(3TIFF),
roentgen b75cab
TIFFWriteRawTile(3TIFF), 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