1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Sat Feb 24 18:37:16 2007 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
11 <h1 align=center
>CODEC
</h1>
12 <a href=
"#NAME">NAME
</a><br>
13 <a href=
"#SYNOPSIS">SYNOPSIS
</a><br>
14 <a href=
"#DESCRIPTION">DESCRIPTION
</a><br>
15 <a href=
"#DIAGNOSTICS">DIAGNOSTICS
</a><br>
16 <a href=
"#SEE ALSO">SEE ALSO
</a><br>
22 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
23 cols=
"2" cellspacing=
"0" cellpadding=
"0">
24 <tr valign=
"top" align=
"left">
27 <p>TIFFFindCODEC, TIFFRegisterCODEC, TIFFUnRegisterCODEC,
28 TIFFIsCODECConfigured
− codec-related utility
32 <a name=
"SYNOPSIS"></a>
35 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
36 cols=
"2" cellspacing=
"0" cellpadding=
"0">
37 <tr valign=
"top" align=
"left">
40 <p><b>#include
<tiffio.h
></b></p>
42 <p><b>const TIFFCodec* TIFFFindCODEC(uint16
</b>
43 <i>scheme
</i><b>);
<br>
44 TIFFCodec* TIFFRegisterCODEC(uint16
</b> <i>scheme
</i><b>,
45 const char *
</b><i>method
</i><b>, TIFFInitMethod
</b>
47 void TIFFUnRegisterCODEC(TIFFCodec
48 *
</b><i>codec
</i><b>);
<br>
49 int TIFFIsCODECConfigured(uint16
</b>
50 <i>scheme
</i><b>);
</b></p>
53 <a name=
"DESCRIPTION"></a>
56 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
57 cols=
"2" cellspacing=
"0" cellpadding=
"0">
58 <tr valign=
"top" align=
"left">
61 <p><i>libtiff
</i> supports a variety of compression schemes
62 implemented by software
<i>codecs
</i>. Each codec adheres to
63 a modular interface that provides for the decoding and
64 encoding of image data; as well as some other methods for
65 initialization, setup, cleanup, and the control of default
66 strip and tile sizes. Codecs are identified by the
67 associated value of the
<small>TIFF
</small>
68 <i>Compression
</i> tag; e.g.
5 for
<small>LZW
</small>
71 <p>The
<i>TIFFRegisterCODEC
</i> routine can be used to
72 augment or override the set of codecs available to an
73 application. If the specified
<i>scheme
</i> already has a
74 registered codec then it is
<i>overridden
</i> and any images
75 with data encoded with this compression scheme will be
76 decoded using the supplied coded.
</p>
78 <p><i>TIFFIsCODECConfigured
</i> returns
1 if the codec is
79 configured and working. Otherwise
0 will be returned.
</p>
82 <a name=
"DIAGNOSTICS"></a>
85 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
86 cols=
"2" cellspacing=
"0" cellpadding=
"0">
87 <tr valign=
"top" align=
"left">
90 <p><b>No space to register compression scheme %s
</b>.
91 <i>TIFFRegisterCODEC
</i> was unable to allocate memory for
92 the data structures needed to register a codec.
</p>
94 <p><b>Cannot remove compression scheme %s; not
95 registered
</b>.
<i>TIFFUnRegisterCODEC
</i> did not locate
96 the specified codec in the table of registered compression
100 <a name=
"SEE ALSO"></a>
103 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
104 cols=
"2" cellspacing=
"0" cellpadding=
"0">
105 <tr valign=
"top" align=
"left">
108 <p><b>libtiff
</b>(
3TIFF)
</p>
110 <p>Libtiff library home page:
111 <b>http://www.remotesensing.org/libtiff/
</b></p>