|
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>TIFFBUFFER</title>
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFBUFFER
|
|
kusano |
7d535a |
NAME
|
|
kusano |
7d535a |
SYNOPSIS
|
|
kusano |
7d535a |
DESCRIPTION
|
|
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 |
TIFFReadBufferSetup, TIFFWriteBufferSetup − I/O
|
|
kusano |
7d535a |
buffering control routines
|
|
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 |
int TIFFReadBufferSetup(TIFF *tif, tdata_t buffer, tsize_t size);
|
|
kusano |
7d535a |
int TIFFWriteBufferSetup(TIFF *tif, tdata_t buffer, tsize_t size);
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
DESCRIPTION
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
cols="2" cellspacing="0" cellpadding="0">
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
The following routines are provided for client-control of
|
|
kusano |
7d535a |
the I/O buffers used by the library. Applications need never
|
|
kusano |
7d535a |
use these routines; they are provided only for
|
|
kusano |
7d535a |
‘‘intelligent clients’’ that wish to
|
|
kusano |
7d535a |
optimize memory usage and/or eliminate potential copy
|
|
kusano |
7d535a |
operations that can occur when working with images that have
|
|
kusano |
7d535a |
data stored without compression.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFReadBufferSetup sets up the data buffer used
|
|
kusano |
7d535a |
to read raw (encoded) data from a file. If the specified
|
|
kusano |
7d535a |
pointer is <small>NULL</small> (zero), then a buffer of the
|
|
kusano |
7d535a |
appropriate size is allocated. Otherwise the caller must
|
|
kusano |
7d535a |
guarantee that the buffer is large enough to hold any
|
|
kusano |
7d535a |
individual strip of raw data. TIFFReadBufferSetup
|
|
kusano |
7d535a |
returns a non-zero value if the setup was successful and
|
|
kusano |
7d535a |
zero otherwise.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
TIFFWriteBufferSetup sets up the data buffer used
|
|
kusano |
7d535a |
to write raw (encoded) data to a file. If the specified
|
|
kusano |
7d535a |
size is −1 then the buffer size is selected to
|
|
kusano |
7d535a |
hold a complete tile or strip, or at least 8 kilobytes,
|
|
kusano |
7d535a |
whichever is greater. If the specified buffer is
|
|
kusano |
7d535a |
<small>NULL</small> (zero), then a buffer of the appropriate
|
|
kusano |
7d535a |
size is dynamically allocated. TIFFWriteBufferSetup
|
|
kusano |
7d535a |
returns a non-zero value if the setup was successful and
|
|
kusano |
7d535a |
zero otherwise.
|
|
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 |
%s: No space for data buffer at scanline %ld.
|
|
kusano |
7d535a |
TIFFReadBufferSetup was unable to dynamically
|
|
kusano |
7d535a |
allocate space for a data buffer.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%s: No space for output buffer.
|
|
kusano |
7d535a |
TIFFWriteBufferSetup was unable to dynamically
|
|
kusano |
7d535a |
allocate space for a data buffer.
|
|
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 |
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 |
|