Blame html/man/TIFFbuffer.3tiff.html

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

TIFFBUFFER

Packit Service 2594b8
NAME
Packit Service 2594b8
SYNOPSIS
Packit Service 2594b8
DESCRIPTION
Packit Service 2594b8
DIAGNOSTICS
Packit Service 2594b8
SEE ALSO
Packit Service 2594b8
Packit Service 2594b8

Packit Service 2594b8
Packit Service 2594b8

NAME

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

TIFFReadBufferSetup, TIFFWriteBufferSetup − I/O

Packit Service 2594b8
buffering control routines

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

SYNOPSIS

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

DESCRIPTION

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

The following routines are provided for client-control of

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

Packit Service 2594b8
Packit Service 2594b8

TIFFReadBufferSetup sets up the data buffer used

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

Packit Service 2594b8
Packit Service 2594b8

TIFFWriteBufferSetup sets up the data buffer used

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

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

DIAGNOSTICS

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

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

Packit Service 2594b8
TIFFReadBufferSetup was unable to dynamically
Packit Service 2594b8
allocate space for a data buffer.

Packit Service 2594b8
Packit Service 2594b8

%s: No space for output buffer.

Packit Service 2594b8
TIFFWriteBufferSetup was unable to dynamically
Packit Service 2594b8
allocate space for a data buffer.

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

SEE ALSO

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

libtiff(3TIFF)

Packit Service 2594b8
Packit Service 2594b8

Libtiff library home page:

Packit Service 2594b8
http://www.simplesystems.org/libtiff/

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

Packit Service 2594b8
</body>
Packit Service 2594b8
</html>