]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/tiff/html/man/TIFFcodec.3tiff.html
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / tiff / html / man / TIFFcodec.3tiff.html
... / ...
CommitLineData
1<!-- Creator : groff version 1.18.1 -->
2<!-- CreationDate: Sat Feb 24 18:37:16 2007 -->
3<html>
4<head>
5<meta name="generator" content="groff -Thtml, see www.gnu.org">
6<meta name="Content-Style" content="text/css">
7<title>CODEC</title>
8</head>
9<body>
10
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>
17
18<hr>
19<a name="NAME"></a>
20<h2>NAME</h2>
21<!-- INDENTATION -->
22<table width="100%" border=0 rules="none" frame="void"
23 cols="2" cellspacing="0" cellpadding="0">
24<tr valign="top" align="left">
25<td width="8%"></td>
26<td width="91%">
27<p>TIFFFindCODEC, TIFFRegisterCODEC, TIFFUnRegisterCODEC,
28TIFFIsCODECConfigured &minus; codec-related utility
29routines</p>
30</td>
31</table>
32<a name="SYNOPSIS"></a>
33<h2>SYNOPSIS</h2>
34<!-- INDENTATION -->
35<table width="100%" border=0 rules="none" frame="void"
36 cols="2" cellspacing="0" cellpadding="0">
37<tr valign="top" align="left">
38<td width="8%"></td>
39<td width="91%">
40<p><b>#include &lt;tiffio.h&gt;</b></p>
41<!-- INDENTATION -->
42<p><b>const TIFFCodec* TIFFFindCODEC(uint16</b>
43<i>scheme</i><b>);<br>
44TIFFCodec* TIFFRegisterCODEC(uint16</b> <i>scheme</i><b>,
45const char *</b><i>method</i><b>, TIFFInitMethod</b>
46<i>init</i><b>);<br>
47void TIFFUnRegisterCODEC(TIFFCodec
48*</b><i>codec</i><b>);<br>
49int TIFFIsCODECConfigured(uint16</b>
50<i>scheme</i><b>);</b></p>
51</td>
52</table>
53<a name="DESCRIPTION"></a>
54<h2>DESCRIPTION</h2>
55<!-- INDENTATION -->
56<table width="100%" border=0 rules="none" frame="void"
57 cols="2" cellspacing="0" cellpadding="0">
58<tr valign="top" align="left">
59<td width="8%"></td>
60<td width="91%">
61<p><i>libtiff</i> supports a variety of compression schemes
62implemented by software <i>codecs</i>. Each codec adheres to
63a modular interface that provides for the decoding and
64encoding of image data; as well as some other methods for
65initialization, setup, cleanup, and the control of default
66strip and tile sizes. Codecs are identified by the
67associated value of the <small>TIFF</small>
68<i>Compression</i> tag; e.g. 5 for <small>LZW</small>
69compression.</p>
70<!-- INDENTATION -->
71<p>The <i>TIFFRegisterCODEC</i> routine can be used to
72augment or override the set of codecs available to an
73application. If the specified <i>scheme</i> already has a
74registered codec then it is <i>overridden</i> and any images
75with data encoded with this compression scheme will be
76decoded using the supplied coded.</p>
77<!-- INDENTATION -->
78<p><i>TIFFIsCODECConfigured</i> returns 1 if the codec is
79configured and working. Otherwise 0 will be returned.</p>
80</td>
81</table>
82<a name="DIAGNOSTICS"></a>
83<h2>DIAGNOSTICS</h2>
84<!-- INDENTATION -->
85<table width="100%" border=0 rules="none" frame="void"
86 cols="2" cellspacing="0" cellpadding="0">
87<tr valign="top" align="left">
88<td width="8%"></td>
89<td width="91%">
90<p><b>No space to register compression scheme %s</b>.
91<i>TIFFRegisterCODEC</i> was unable to allocate memory for
92the data structures needed to register a codec.</p>
93<!-- INDENTATION -->
94<p><b>Cannot remove compression scheme %s; not
95registered</b>. <i>TIFFUnRegisterCODEC</i> did not locate
96the specified codec in the table of registered compression
97schemes.</p>
98</td>
99</table>
100<a name="SEE ALSO"></a>
101<h2>SEE ALSO</h2>
102<!-- INDENTATION -->
103<table width="100%" border=0 rules="none" frame="void"
104 cols="2" cellspacing="0" cellpadding="0">
105<tr valign="top" align="left">
106<td width="8%"></td>
107<td width="91%">
108<p><b>libtiff</b>(3TIFF)</p>
109<!-- INDENTATION -->
110<p>Libtiff library home page:
111<b>http://www.remotesensing.org/libtiff/</b></p>
112</td>
113</table>
114<hr>
115</body>
116</html>