src/3rdparty/libtiff/html/man/TIFFcodec.3tiff.html
changeset 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <!-- Creator     : groff version 1.18.1 -->
       
     2 <!-- CreationDate: Mon Mar 13 18:03:08 2006 -->
       
     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,
       
    28 TIFFIsCODECConfigured &minus; codec-related utility
       
    29 routines</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>
       
    44 TIFFCodec* TIFFRegisterCODEC(uint16</b> <i>scheme</i><b>,
       
    45 const char *</b><i>method</i><b>, TIFFInitMethod</b>
       
    46 <i>init</i><b>);<br>
       
    47 void TIFFUnRegisterCODEC(TIFFCodec
       
    48 *</b><i>codec</i><b>);<br>
       
    49 int 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
       
    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>
       
    69 compression.</p>
       
    70 <!-- INDENTATION -->
       
    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>
       
    77 <!-- INDENTATION -->
       
    78 <p><i>TIFFIsCODECConfigured</i> returns 1 if the codec is
       
    79 configured 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
       
    92 the data structures needed to register a codec.</p>
       
    93 <!-- INDENTATION -->
       
    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
       
    97 schemes.</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>