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

TIFFWriteRawstrip

roentgen b75cab
NAME
roentgen b75cab
SYNOPSIS
roentgen b75cab
DESCRIPTION
roentgen b75cab
NOTES
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

TIFFWriteRawStrip − write a strip 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 TIFFWriteRawStrip(TIFF *tif,

roentgen b75cab
tstrip_t strip, 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
strip.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

NOTES

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

The strip number must be valid according to the current

roentgen b75cab
settings of the ImageLength and RowsPerStrip
roentgen b75cab
tags. An image may be dynamically grown by increasing the
roentgen b75cab
value of ImageLength prior to each call to
roentgen b75cab
TIFFWriteRawStrip.

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 scanlines to a tiled image. The

roentgen b75cab
image is assumed to be organized in tiles because the
roentgen b75cab
TileWidth and 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 strip arrays". There was not

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

roentgen b75cab
roentgen b75cab

%s: Strip %d out of range, max %d. The specified

roentgen b75cab
strip is not a valid strip 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
TIFFWriteEncodedStrip(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