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

TIFFWriteRawtile

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

TIFFWriteRawTile − write a tile of raw data to an

roentgen b75cab
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 TIFFWriteRawTile(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

Append size bytes of raw data to the specified

roentgen b75cab
tile.

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

−1 is returned if an error occurred. Otherwise, the

roentgen b75cab
value of size is 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

%s: File not open for writing. The file was opened

roentgen b75cab
for reading, not writing.

roentgen b75cab
roentgen b75cab

Can not write tiles to a stripped image. The image

roentgen b75cab
is assumed to be organized in strips because neither of the
roentgen b75cab
TileWidth or TileLength tags have been set
roentgen b75cab
with TIFFSetField(3TIFF).

roentgen b75cab
roentgen b75cab

%s: Must set "ImageWidth" before writing

roentgen b75cab
data. The image’s width has not be set before the
roentgen b75cab
first write. See TIFFSetField(3TIFF) for information
roentgen b75cab
on how to do this.

roentgen b75cab
roentgen b75cab

%s: Must set "PlanarConfiguration" before

roentgen b75cab
writing data. The organization of data has not be
roentgen b75cab
defined before the first write. See
roentgen b75cab
TIFFSetField(3TIFF) for information on how to do
roentgen b75cab
this.

roentgen b75cab
roentgen b75cab

%s: No space for tile arrays". There was not

roentgen b75cab
enough space for the arrays that hold tile offsets and byte
roentgen b75cab
counts.

roentgen b75cab
roentgen b75cab

%s: Specified tile %d out of range, max %d. The

roentgen b75cab
specified tile is not valid according to the currently
roentgen b75cab
specified image dimensions.

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