TIFFcodec.3tiff.html 3.6 KB

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