Blame html/man/TIFFReadEncodedStrip.3tiff.html

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

TIFFReadEncodedStrip

Packit 7838c8
NAME
Packit 7838c8
SYNOPSIS
Packit 7838c8
DESCRIPTION
Packit 7838c8
NOTES
Packit 7838c8
RETURN VALUES
Packit 7838c8
DIAGNOSTICS
Packit 7838c8
SEE ALSO
Packit 7838c8
Packit 7838c8

Packit 7838c8
Packit 7838c8

NAME

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

<big>TIFFReadEncodedStrip − read and decode a strip

Packit 7838c8
of data from an open</big> TIFF <big>file</big>

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

SYNOPSIS

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

<big>#include <tiffio.h></big>

Packit 7838c8
Packit 7838c8

<big>tsize_t TIFFReadEncodedStrip(TIFF

Packit 7838c8
*tif, tstrip_t strip,
Packit 7838c8
tdata_t buf, tsize_t
Packit 7838c8
size)</big>

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

DESCRIPTION

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

<big>Read the specified strip of data and place up to

Packit 7838c8
size bytes of decompressed information in the (user
Packit 7838c8
supplied) data buffer.</big>

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

NOTES

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

<big>The value of strip is a ‘‘raw

Packit 7838c8
strip number.’’ That is, the caller must take
Packit 7838c8
into account whether or not the data are organized in
Packit 7838c8
separate planes (PlanarConfiguration=2). To read a
Packit 7838c8
full strip of data the data buffer should typically be at
Packit 7838c8
least as large as the number returned by
Packit 7838c8
TIFFStripSize(3TIFF). If the -1 passed in size
Packit 7838c8
parameter, the whole strip will be read. You should be sure
Packit 7838c8
you have enough space allocated for the buffer.</big>

Packit 7838c8
Packit 7838c8

<big>The library attempts to hide bit- and byte-ordering

Packit 7838c8
differences between the image and the native machine by
Packit 7838c8
converting data to the native machine order. Bit reversal is
Packit 7838c8
done if the FillOrder tag is opposite to the native
Packit 7838c8
machine bit order. 16- and 32-bit samples are automatically
Packit 7838c8
byte-swapped if the file was written with a byte order
Packit 7838c8
opposite to the native machine byte order,</big>

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

RETURN VALUES

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

<big>The actual number of bytes of data that were placed

Packit 7838c8
in buf is returned; TIFFReadEncodedStrip
Packit 7838c8
returns −1 if an error was encountered.</big>

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

DIAGNOSTICS

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

<big>All error messages are directed to the

Packit 7838c8
TIFFError(3TIFF) routine.</big>

Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

SEE ALSO

Packit 7838c8
Packit 7838c8
Packit 7838c8
       cols="2" cellspacing="0" cellpadding="0">
Packit 7838c8
Packit 7838c8
Packit 7838c8
Packit 7838c8

<big>TIFFOpen(3TIFF),

Packit 7838c8
TIFFReadRawStrip(3TIFF),
Packit 7838c8
TIFFReadScanline(3TIFF),
Packit 7838c8
libtiff(3TIFF)</big>

Packit 7838c8
Packit 7838c8

<big>Libtiff library home page:

Packit 7838c8
http://www.simplesystems.org/libtiff/</big>

Packit 7838c8
Packit 7838c8
Packit 7838c8

Packit 7838c8
</body>
Packit 7838c8
</html>