roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
<meta content="groff -Thtml, see www.gnu.org" name="generator">
roentgen b75cab
<meta content="text/css" name="Content-Style">
roentgen b75cab
<title>INTRO</title>
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

INTRO

roentgen b75cab
NAME
roentgen b75cab
SYNOPSIS
roentgen b75cab
DESCRIPTION
roentgen b75cab
DATA TYPES
roentgen b75cab
LIST OF ROUTINES
roentgen b75cab
TAG USAGE
roentgen b75cab
PSEUDO TAGS
roentgen b75cab
DIAGNOSTICS
roentgen b75cab
SEE ALSO
roentgen b75cab
BUGS
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab

NAME

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
library for reading and writing TIFF
roentgen b75cab
<big>files</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SYNOPSIS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DESCRIPTION

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

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

roentgen b75cab
roentgen b75cab

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

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DATA TYPES

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="3" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
uint32;

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>directory tag</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>typedef uint16 tdir_t;</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>directory index</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>typedef uint16 tsample_t;</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>sample number</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>typedef uint32 tstrip_t;</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>strip number</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>typedef uint32 ttile_t;</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>tile number</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>typedef int32 tsize_t;</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>image data ref</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>client data handle</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>typedef int32 toff_t;</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>file offset</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

LIST OF ROUTINES

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>Name Description</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="3" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFCheckpointDirectory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFCheckTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFCIELabToRGBInit</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
state

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFCIELabToXYZ</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
conversion

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFClientOpen</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFClose</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>close an open file</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFComputeStrip</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFComputeTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFCurrentDirectory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFCurrentRow</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFCurrentStrip</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFCurrentTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFDataWidth</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFError</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>library error handler</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFFdOpen</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFFileName</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFFileno</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>return open file descriptor</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFFindCODEC</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
scheme

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFFlush</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>flush all pending writes</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFFlushData</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>flush pending data writes</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFGetBitRevTable</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>return bit reversal table</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFGetField</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFGetFieldDefaulted</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFGetMode</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>return open file mode</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFGetVersion</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>return library version string</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFIsCODECConfigured</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFIsMSB2LSB</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
returned

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFIsTiled</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFIsByteSwapped</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFNumberOfStrips</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFNumberOfTiles</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFOpen</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFPrintDirectory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
directory

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadBufferSetup</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadDirectory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>read the next directory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadEncodedStrip</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadEncodedTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadRawStrip</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadRawTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadRGBAImage</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadScanline</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReadTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFRegisterCODEC</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
scheme

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFReverseBits</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFRGBAImageBegin</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFRGBAImageEnd</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>release TIFFRGBAImage decoder state</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFRGBAImageGet</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFRGBAImageOK</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFScanlineSize</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSetDirectory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>set the current directory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSetSubDirectory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>set the current directory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSetErrorHandler</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>set error handler function</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSetField</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
directory

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSetWarningHandler</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>set warning handler function</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFStripSize</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFRawStripSize</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
strip

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSwabShort</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>swap bytes of short</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSwabLong</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>swap bytes of long</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSwabArrayOfShort</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFSwabArrayOfLong</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFTileRowSize</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFTileSize</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFUnRegisterCODEC</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>unregisters the codec</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFVGetField</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFVGetFieldDefaulted</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFVSetField</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
directory

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFVStripSize</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFWarning</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>library warning handler</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFWriteDirectory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>write the current directory</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFWriteEncodedStrip</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFWriteEncodedTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFWriteRawStrip</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFWriteRawTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFWriteScanline</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFWriteTile</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFXYZToRGB</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFYCbCrToRGBInit</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>TIFFYCbCrtoRGB</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>Auxiliary functions:</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="3" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>_TIFFfree</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>free memory buffer</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>_TIFFmalloc</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>dynamically allocate memory buffer</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>_TIFFmemcmp</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>_TIFFmemcpy</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
another

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>_TIFFmemset</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>_TIFFrealloc</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

<big>dynamically reallocate memory buffer</big>

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TAG USAGE

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

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

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