/src/3rdparty/libtiff/html/man/TIFFReadEncodedStrip.3tiff.html

https://bitbucket.org/ultra_iter/qt-vtl · HTML · 133 lines · 119 code · 2 blank · 12 comment · 0 complexity · 2dbcb007f0886562fde14cbf6e8253d2 MD5 · raw file

  1. <!-- Creator : groff version 1.18.1 -->
  2. <!-- CreationDate: Fri Jul 13 17:43: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>TIFFReadEncodedStrip</title>
  8. </head>
  9. <body>
  10. <h1 align=center>TIFFReadEncodedStrip</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="#NOTES">NOTES</a><br>
  15. <a href="#RETURN VALUES">RETURN VALUES</a><br>
  16. <a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
  17. <a href="#SEE ALSO">SEE ALSO</a><br>
  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><big>TIFFReadEncodedStrip &minus; read and decode a strip
  28. of data from an open</big> TIFF <big>file</big></p>
  29. </td>
  30. </table>
  31. <a name="SYNOPSIS"></a>
  32. <h2>SYNOPSIS</h2>
  33. <!-- INDENTATION -->
  34. <table width="100%" border=0 rules="none" frame="void"
  35. cols="2" cellspacing="0" cellpadding="0">
  36. <tr valign="top" align="left">
  37. <td width="8%"></td>
  38. <td width="91%">
  39. <p><big><b>#include &lt;tiffio.h&gt;</b></big></p>
  40. <!-- INDENTATION -->
  41. <p><big><b>tsize_t TIFFReadEncodedStrip(TIFF
  42. *</b><i>tif</i><b>, tstrip_t</b> <i>strip</i><b>,
  43. tdata_t</b> <i>buf</i><b>, tsize_t</b>
  44. <i>size</i><b>)</b></big></p>
  45. </td>
  46. </table>
  47. <a name="DESCRIPTION"></a>
  48. <h2>DESCRIPTION</h2>
  49. <!-- INDENTATION -->
  50. <table width="100%" border=0 rules="none" frame="void"
  51. cols="2" cellspacing="0" cellpadding="0">
  52. <tr valign="top" align="left">
  53. <td width="8%"></td>
  54. <td width="91%">
  55. <p><big>Read the specified strip of data and place up to
  56. <i>size</i> bytes of decompressed information in the (user
  57. supplied) data buffer.</big></p>
  58. </td>
  59. </table>
  60. <a name="NOTES"></a>
  61. <h2>NOTES</h2>
  62. <!-- INDENTATION -->
  63. <table width="100%" border=0 rules="none" frame="void"
  64. cols="2" cellspacing="0" cellpadding="0">
  65. <tr valign="top" align="left">
  66. <td width="8%"></td>
  67. <td width="91%">
  68. <p><big>The value of <i>strip</i> is a &lsquo;&lsquo;raw
  69. strip number.&rsquo;&rsquo; That is, the caller must take
  70. into account whether or not the data are organized in
  71. separate planes (<i>PlanarConfiguration</i>=2). To read a
  72. full strip of data the data buffer should typically be at
  73. least as large as the number returned by
  74. <b>TIFFStripSize</b>(3TIFF). If the -1 passed in <i>size</i>
  75. parameter, the whole strip will be read. You should be sure
  76. you have enough space allocated for the buffer.</big></p>
  77. <!-- INDENTATION -->
  78. <p><big>The library attempts to hide bit- and byte-ordering
  79. differences between the image and the native machine by
  80. converting data to the native machine order. Bit reversal is
  81. done if the <i>FillOrder</i> tag is opposite to the native
  82. machine bit order. 16- and 32-bit samples are automatically
  83. byte-swapped if the file was written with a byte order
  84. opposite to the native machine byte order,</big></p>
  85. </td>
  86. </table>
  87. <a name="RETURN VALUES"></a>
  88. <h2>RETURN VALUES</h2>
  89. <!-- INDENTATION -->
  90. <table width="100%" border=0 rules="none" frame="void"
  91. cols="2" cellspacing="0" cellpadding="0">
  92. <tr valign="top" align="left">
  93. <td width="8%"></td>
  94. <td width="91%">
  95. <p><big>The actual number of bytes of data that were placed
  96. in <i>buf</i> is returned; <i>TIFFReadEncodedStrip</i>
  97. returns &minus;1 if an error was encountered.</big></p>
  98. </td>
  99. </table>
  100. <a name="DIAGNOSTICS"></a>
  101. <h2>DIAGNOSTICS</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><big>All error messages are directed to the
  109. <b>TIFFError</b>(3TIFF) routine.</big></p>
  110. </td>
  111. </table>
  112. <a name="SEE ALSO"></a>
  113. <h2>SEE ALSO</h2>
  114. <!-- INDENTATION -->
  115. <table width="100%" border=0 rules="none" frame="void"
  116. cols="2" cellspacing="0" cellpadding="0">
  117. <tr valign="top" align="left">
  118. <td width="8%"></td>
  119. <td width="91%">
  120. <p><big><b>TIFFOpen</b>(3TIFF),
  121. <b>TIFFReadRawStrip</b>(3TIFF),
  122. <b>TIFFReadScanline</b>(3TIFF),
  123. <b>libtiff</b>(3TIFF)</big></p>
  124. <!-- INDENTATION -->
  125. <p><big>Libtiff library home page:
  126. <b>http://www.remotesensing.org/libtiff/</b></big></p>
  127. </td>
  128. </table>
  129. <hr>
  130. </body>
  131. </html>