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>INTRO</title>
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

INTRO

kusano 7d535a
NAME
kusano 7d535a
SYNOPSIS
kusano 7d535a
DESCRIPTION
kusano 7d535a
DATA TYPES
kusano 7d535a
LIST OF ROUTINES
kusano 7d535a
TAG USAGE
kusano 7d535a
PSEUDO TAGS
kusano 7d535a
DIAGNOSTICS
kusano 7d535a
SEE ALSO
kusano 7d535a
BUGS
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

<big>libtiff − introduction to libtiff, a</big>

kusano 7d535a
library for reading and writing TIFF
kusano 7d535a
<big>files</big>

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

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

kusano 7d535a
kusano 7d535a

<big>cc file.c -ltiff</big>

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

<big>libtiff is a library for reading and writing</big>

kusano 7d535a
data files encoded with the Tag Image File format,
kusano 7d535a
Revision 6.0 (or revision 5.0 or revision 4.0). This file
kusano 7d535a
format is suitable for archiving multi-color and
kusano 7d535a
monochromatic image data.

kusano 7d535a
kusano 7d535a

<big>The library supports several compression algorithms,</big>

kusano 7d535a
as indicated by the Compression field, including: no
kusano 7d535a
compression (1), CCITT <big>1D Huffman compression</big>
kusano 7d535a
(2), CCITT <big>Group 3 Facsimile compression</big>
kusano 7d535a
(3), CCITT <big>Group 4 Facsimile compression (4),</big>
kusano 7d535a
Lempel-Ziv & Welch compression (5), baseline JPEG
kusano 7d535a
compression (7), word-aligned 1D Huffman compression
kusano 7d535a
(32771), and PackBits compression (32773). In addition,
kusano 7d535a
several nonstandard compression algorithms are supported:
kusano 7d535a
the 4-bit compression algorithm used by the
kusano 7d535a
ThunderScan program (32809) (decompression only),
kusano 7d535a
NeXT’s 2-bit compression algorithm (32766)
kusano 7d535a
(decompression only), an experimental LZ-style algorithm
kusano 7d535a
known as Deflate (32946), and an experimental CIE LogLuv
kusano 7d535a
compression scheme designed for images with high dynamic
kusano 7d535a
range (32845 for LogL and 32845 for LogLuv). Directory
kusano 7d535a
information may be in either little- or big-endian byte
kusano 7d535a
order−byte swapping is automatically done by the
kusano 7d535a
library. Data bit ordering may be either Most Significant
kusano 7d535a
Bit ( MSB <big>) to Least Significant Bit (</big> LSB
kusano 7d535a
<big>) or</big> LSB <big>to</big> MSB. <big>Finally, the</big>
kusano 7d535a
library does not support files in which the
kusano 7d535a
BitsPerSample, Compression,
kusano 7d535a
MinSampleValue, or MaxSampleValue fields are
kusano 7d535a
defined differently on a per-sample basis (in Rev. 6.0 the
kusano 7d535a
Compression tag is not defined on a per-sample basis,
kusano 7d535a
so this is immaterial).

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

DATA TYPES

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>The library makes extensive use of C typedefs to</big>

kusano 7d535a
promote portability. Two sets of typedefs are used, one for
kusano 7d535a
communication with clients of the library and one for
kusano 7d535a
internal data structures and parsing of the TIFF
kusano 7d535a
<big>format. The following typedefs are exposed to users</big>
kusano 7d535a
either through function definitions or through parameters
kusano 7d535a
passed through the varargs interfaces.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="3" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef unsigned short uint16;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>16-bit unsigned integer</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef unsigned <thing></big>

kusano 7d535a
uint32;

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>32-bit unsigned integer</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef unsigned int ttag_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>directory tag</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef uint16 tdir_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>directory index</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef uint16 tsample_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>sample number</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef uint32 tstrip_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>strip number</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef uint32 ttile_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>tile number</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef int32 tsize_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>i/o size in bytes</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef void* tdata_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>image data ref</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef void* thandle_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>client data handle</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>typedef int32 toff_t;</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>file offset</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>Note that tstrip_t, ttile_t, and</big>

kusano 7d535a
tsize_t are constrained to be no more than 32-bit
kusano 7d535a
quantities by 32-bit fields they are stored in in the
kusano 7d535a
TIFF <big>image. Likewise tsample_t is limited by the</big>
kusano 7d535a
16-bit field used to store the SamplesPerPixel tag.
kusano 7d535a
tdir_t constrains the maximum number of IFDs
kusano 7d535a
<big>that may appear in an image and may be an arbitrary</big>
kusano 7d535a
size (w/o penalty). ttag_t must be either int,
kusano 7d535a
unsigned int, pointer, or double because the library uses a
kusano 7d535a
varargs interface and ANSI C <big>restricts the type</big>
kusano 7d535a
of the parameter before an ellipsis to be a promoted type.
kusano 7d535a
toff_t is defined as int32 because TIFF file offsets
kusano 7d535a
are (unsigned) 32-bit quantities. A signed value is used
kusano 7d535a
because some interfaces return −1 on error. Finally,
kusano 7d535a
note that user-specified data references are passed as
kusano 7d535a
opaque handles and only cast at the lowest layers where
kusano 7d535a
their type is presumed.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

LIST OF ROUTINES

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>The following routines are part of the library.</big>

kusano 7d535a
Consult specific manual pages for details on their
kusano 7d535a
operation; on most systems doing ‘‘man
kusano 7d535a
function-name’’ will work.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>Name Description</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="3" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFCheckpointDirectory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>writes the current state of the directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFCheckTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>very x,y,z,sample is within image</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFCIELabToRGBInit</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>initialize CIE L*a*b* 1976 to RGB conversion</big>

kusano 7d535a
state

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFCIELabToXYZ</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>perform CIE L*a*b* 1976 to CIE XYZ</big>

kusano 7d535a
conversion

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFClientOpen</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>open a file for reading or writing</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFClose</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>close an open file</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFComputeStrip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return strip containing y,sample</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFComputeTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return tile containing x,y,z,sample</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFCurrentDirectory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return index of current directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFCurrentRow</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return index of current scanline</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFCurrentStrip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return index of current strip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFCurrentTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return index of current tile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFDataWidth</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return the size of TIFF data types</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFError</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>library error handler</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFFdOpen</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>open a file for reading or writing</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFFileName</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return name of open file</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFFileno</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return open file descriptor</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFFindCODEC</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>find standard codec for the specific</big>

kusano 7d535a
scheme

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFFlush</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>flush all pending writes</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFFlushData</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>flush pending data writes</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFGetBitRevTable</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return bit reversal table</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFGetField</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return tag value in current directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFGetFieldDefaulted</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return tag value in current directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFGetMode</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return open file mode</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFGetVersion</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return library version string</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFIsCODECConfigured</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>check, whether we have working codec</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFIsMSB2LSB</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return true if image data is being</big>

kusano 7d535a
returned

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>with bit 0 as the most significant bit</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFIsTiled</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return true if image data is tiled</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFIsByteSwapped</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return true if image data is byte-swapped</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFNumberOfStrips</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return number of strips in an image</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFNumberOfTiles</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return number of tiles in an image</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFOpen</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>open a file for reading or writing</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFPrintDirectory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>print description of the current</big>

kusano 7d535a
directory

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadBufferSetup</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>specify i/o buffer for reading</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadDirectory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read the next directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadEncodedStrip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read and decode a strip of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadEncodedTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read and decode a tile of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadRawStrip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read a raw strip of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadRawTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read a raw tile of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadRGBAImage</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read an image into a fixed format raster</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadScanline</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read and decode a row of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReadTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read and decode a tile of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFRegisterCODEC</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>override standard codec for the specific</big>

kusano 7d535a
scheme

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFReverseBits</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>reverse bits in an array of bytes</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFRGBAImageBegin</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>setup decoder state for TIFFRGBAImageGet</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFRGBAImageEnd</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>release TIFFRGBAImage decoder state</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFRGBAImageGet</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>read and decode an image</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFRGBAImageOK</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>is image readable by TIFFRGBAImageGet</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFScanlineSize</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return size of a scanline</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSetDirectory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>set the current directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSetSubDirectory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>set the current directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSetErrorHandler</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>set error handler function</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSetField</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>set a tag’s value in the current</big>

kusano 7d535a
directory

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSetWarningHandler</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>set warning handler function</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFStripSize</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>returns size of a strip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFRawStripSize</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>returns the number of bytes in a raw</big>

kusano 7d535a
strip

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSwabShort</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>swap bytes of short</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSwabLong</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>swap bytes of long</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSwabArrayOfShort</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>swap bytes of an array of shorts</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFSwabArrayOfLong</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>swap bytes of an array of longs</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFTileRowSize</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return size of a row in a tile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFTileSize</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return size of a tile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFUnRegisterCODEC</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>unregisters the codec</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFVGetField</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return tag value in current directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFVGetFieldDefaulted</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>return tag value in current directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFVSetField</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>set a tag’s value in the current</big>

kusano 7d535a
directory

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFVStripSize</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>returns the number of bytes in a strip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFWarning</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>library warning handler</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFWriteDirectory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>write the current directory</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFWriteEncodedStrip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>compress and write a strip of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFWriteEncodedTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>compress and write a tile of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFWriteRawStrip</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>write a raw strip of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFWriteRawTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>write a raw tile of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFWriteScanline</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>write a scanline of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFWriteTile</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>compress and write a tile of data</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFXYZToRGB</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>perform CIE XYZ to RGB conversion</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFYCbCrToRGBInit</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>initialize YCbCr to RGB conversion state</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>TIFFYCbCrtoRGB</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>perform YCbCr to RGB conversion</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>Auxiliary functions:</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="3" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>_TIFFfree</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>free memory buffer</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>_TIFFmalloc</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>dynamically allocate memory buffer</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>_TIFFmemcmp</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>compare contents of the memory buffers</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>_TIFFmemcpy</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>copy contents of the one buffer to</big>

kusano 7d535a
another

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>_TIFFmemset</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>fill memory buffer with a constant byte</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>_TIFFrealloc</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>dynamically reallocate memory buffer</big>

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TAG USAGE

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

<big>The table below lists the</big> TIFF <big>tags that</big>

kusano 7d535a
are recognized and handled by the library. If no use is
kusano 7d535a
indicated in the table, then the library reads and writes
kusano 7d535a
the tag, but does not use it internally. Note that some tags
kusano 7d535a
are meaningful only when a particul