Blame html/man/TIFFbuffer.3tiff.html

Packit 85355f
Packit 85355f
Packit 85355f
<html>
Packit 85355f
<head>
Packit 85355f
<meta name="generator" content="groff -Thtml, see www.gnu.org">
Packit 85355f
<meta name="Content-Style" content="text/css">
Packit 85355f
<title>TIFFBUFFER</title>
Packit 85355f
</head>
Packit 85355f
<body>
Packit 85355f
Packit 85355f

TIFFBUFFER

Packit 85355f
NAME
Packit 85355f
SYNOPSIS
Packit 85355f
DESCRIPTION
Packit 85355f
DIAGNOSTICS
Packit 85355f
SEE ALSO
Packit 85355f
Packit 85355f

Packit 85355f
Packit 85355f

NAME

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

TIFFReadBufferSetup, TIFFWriteBufferSetup − I/O

Packit 85355f
buffering control routines

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

SYNOPSIS

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
#include <tiffio.h>
Packit 85355f
Packit 85355f
int TIFFReadBufferSetup(TIFF *tif, tdata_t buffer, tsize_t size);
Packit 85355f
int TIFFWriteBufferSetup(TIFF *tif, tdata_t buffer, tsize_t size);
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

DESCRIPTION

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

The following routines are provided for client-control of

Packit 85355f
the I/O buffers used by the library. Applications need never
Packit 85355f
use these routines; they are provided only for
Packit 85355f
‘‘intelligent clients’’ that wish to
Packit 85355f
optimize memory usage and/or eliminate potential copy
Packit 85355f
operations that can occur when working with images that have
Packit 85355f
data stored without compression.

Packit 85355f
Packit 85355f

TIFFReadBufferSetup sets up the data buffer used

Packit 85355f
to read raw (encoded) data from a file. If the specified
Packit 85355f
pointer is <small>NULL</small> (zero), then a buffer of the
Packit 85355f
appropriate size is allocated. Otherwise the caller must
Packit 85355f
guarantee that the buffer is large enough to hold any
Packit 85355f
individual strip of raw data. TIFFReadBufferSetup
Packit 85355f
returns a non-zero value if the setup was successful and
Packit 85355f
zero otherwise.

Packit 85355f
Packit 85355f

TIFFWriteBufferSetup sets up the data buffer used

Packit 85355f
to write raw (encoded) data to a file. If the specified
Packit 85355f
size is −1 then the buffer size is selected to
Packit 85355f
hold a complete tile or strip, or at least 8 kilobytes,
Packit 85355f
whichever is greater. If the specified buffer is
Packit 85355f
<small>NULL</small> (zero), then a buffer of the appropriate
Packit 85355f
size is dynamically allocated. TIFFWriteBufferSetup
Packit 85355f
returns a non-zero value if the setup was successful and
Packit 85355f
zero otherwise.

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

DIAGNOSTICS

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

%s: No space for data buffer at scanline %ld.

Packit 85355f
TIFFReadBufferSetup was unable to dynamically
Packit 85355f
allocate space for a data buffer.

Packit 85355f
Packit 85355f

%s: No space for output buffer.

Packit 85355f
TIFFWriteBufferSetup was unable to dynamically
Packit 85355f
allocate space for a data buffer.

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

SEE ALSO

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

libtiff(3TIFF)

Packit 85355f
Packit 85355f

Libtiff library home page:

Packit 85355f
http://www.simplesystems.org/libtiff/

Packit 85355f
Packit 85355f
Packit 85355f

Packit 85355f
</body>
Packit 85355f
</html>