|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
<meta content="groff -Thtml, see www.gnu.org" name="generator">
|
|
kusano |
7d535a |
<meta content="text/css" name="Content-Style">
|
|
kusano |
7d535a |
<title>TIFFWriteRawstrip</title>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFWriteRawstrip
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
NOTES
|
|
kusano |
7d535a |
RETURN VALUES
|
|
kusano |
7d535a |
DIAGNOSTICS
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFWriteRawStrip − write a strip of raw data to an
|
|
kusano |
7d535a |
open <small>TIFF</small> file
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#include <tiffio.h>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
tsize_t TIFFWriteRawStrip(TIFF *tif,
|
|
kusano |
7d535a |
tstrip_t strip, tdata_t buf,
|
|
kusano |
7d535a |
tsize_t size)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Append size bytes of raw data to the specified
|
|
kusano |
7d535a |
strip.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
NOTES
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
The strip number must be valid according to the current
|
|
kusano |
7d535a |
settings of the ImageLength and RowsPerStrip
|
|
kusano |
7d535a |
tags. An image may be dynamically grown by increasing the
|
|
kusano |
7d535a |
value of ImageLength prior to each call to
|
|
kusano |
7d535a |
TIFFWriteRawStrip.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
RETURN VALUES
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
−1 is returned if an error occurred. Otherwise, the
|
|
kusano |
7d535a |
value of size is returned.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DIAGNOSTICS
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
All error messages are directed to the
|
|
kusano |
7d535a |
TIFFError(3TIFF) routine.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%s: File not open for writing. The file was opened
|
|
kusano |
7d535a |
for reading, not writing.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Can not write scanlines to a tiled image. The
|
|
kusano |
7d535a |
image is assumed to be organized in tiles because the
|
|
kusano |
7d535a |
TileWidth and TileLength tags have been set
|
|
kusano |
7d535a |
with TIFFSetField(3TIFF).
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%s: Must set "ImageWidth" before writing
|
|
kusano |
7d535a |
data. The image’s width has not be set before the
|
|
kusano |
7d535a |
first write. See TIFFSetField(3TIFF) for information
|
|
kusano |
7d535a |
on how to do this.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%s: Must set "PlanarConfiguration" before
|
|
kusano |
7d535a |
writing data. The organization of data has not be
|
|
kusano |
7d535a |
defined before the first write. See
|
|
kusano |
7d535a |
TIFFSetField(3TIFF) for information on how to do
|
|
kusano |
7d535a |
this.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%s: No space for strip arrays". There was not
|
|
kusano |
7d535a |
enough space for the arrays that hold strip offsets and byte
|
|
kusano |
7d535a |
counts.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%s: Strip %d out of range, max %d. The specified
|
|
kusano |
7d535a |
strip is not a valid strip according to the currently
|
|
kusano |
7d535a |
specified image dimensions.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SEE ALSO
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFOpen(3TIFF),
|
|
kusano |
7d535a |
TIFFWriteEncodedStrip(3TIFF),
|
|
kusano |
7d535a |
TIFFWriteScanline(3TIFF), libtiff(3TIFF)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Libtiff library home page:
|
|
kusano |
7d535a |
http://www.remotesensing.org/libtiff/
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|