2
0

TIFFWriteRawStrip.3tiff.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <!-- Creator : groff version 1.18.1 -->
  2. <!-- CreationDate: Sat Feb 24 18:37:18 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>TIFFWriteRawstrip</title>
  8. </head>
  9. <body>
  10. <h1 align=center>TIFFWriteRawstrip</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>TIFFWriteRawStrip &minus; write a strip of raw data to an
  28. open <small>TIFF</small> file</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><b>#include &lt;tiffio.h&gt;</b></p>
  40. <!-- INDENTATION -->
  41. <p><b>tsize_t TIFFWriteRawStrip(TIFF *</b><i>tif</i><b>,
  42. tstrip_t</b> <i>strip</i><b>, tdata_t</b> <i>buf</i><b>,
  43. tsize_t</b> <i>size</i><b>)</b></p>
  44. </td>
  45. </table>
  46. <a name="DESCRIPTION"></a>
  47. <h2>DESCRIPTION</h2>
  48. <!-- INDENTATION -->
  49. <table width="100%" border=0 rules="none" frame="void"
  50. cols="2" cellspacing="0" cellpadding="0">
  51. <tr valign="top" align="left">
  52. <td width="8%"></td>
  53. <td width="91%">
  54. <p>Append <i>size</i> bytes of raw data to the specified
  55. strip.</p>
  56. </td>
  57. </table>
  58. <a name="NOTES"></a>
  59. <h2>NOTES</h2>
  60. <!-- INDENTATION -->
  61. <table width="100%" border=0 rules="none" frame="void"
  62. cols="2" cellspacing="0" cellpadding="0">
  63. <tr valign="top" align="left">
  64. <td width="8%"></td>
  65. <td width="91%">
  66. <p>The strip number must be valid according to the current
  67. settings of the <i>ImageLength</i> and <i>RowsPerStrip</i>
  68. tags. An image may be dynamically grown by increasing the
  69. value of <i>ImageLength</i> prior to each call to
  70. <i>TIFFWriteRawStrip</i>.</p>
  71. </td>
  72. </table>
  73. <a name="RETURN VALUES"></a>
  74. <h2>RETURN VALUES</h2>
  75. <!-- INDENTATION -->
  76. <table width="100%" border=0 rules="none" frame="void"
  77. cols="2" cellspacing="0" cellpadding="0">
  78. <tr valign="top" align="left">
  79. <td width="8%"></td>
  80. <td width="91%">
  81. <p>&minus;1 is returned if an error occurred. Otherwise, the
  82. value of <i>size</i> is returned.</p>
  83. </td>
  84. </table>
  85. <a name="DIAGNOSTICS"></a>
  86. <h2>DIAGNOSTICS</h2>
  87. <!-- INDENTATION -->
  88. <table width="100%" border=0 rules="none" frame="void"
  89. cols="2" cellspacing="0" cellpadding="0">
  90. <tr valign="top" align="left">
  91. <td width="8%"></td>
  92. <td width="91%">
  93. <p>All error messages are directed to the
  94. <b>TIFFError</b>(3TIFF) routine.</p>
  95. <!-- INDENTATION -->
  96. <p><b>%s: File not open for writing</b>. The file was opened
  97. for reading, not writing.</p>
  98. <!-- INDENTATION -->
  99. <p><b>Can not write scanlines to a tiled image</b>. The
  100. image is assumed to be organized in tiles because the
  101. <i>TileWidth</i> and <i>TileLength</i> tags have been set
  102. with <b>TIFFSetField</b>(3TIFF).</p>
  103. <!-- INDENTATION -->
  104. <p><b>%s: Must set &quot;ImageWidth&quot; before writing
  105. data</b>. The image&rsquo;s width has not be set before the
  106. first write. See <b>TIFFSetField</b>(3TIFF) for information
  107. on how to do this.</p>
  108. <!-- INDENTATION -->
  109. <p><b>%s: Must set &quot;PlanarConfiguration&quot; before
  110. writing data</b>. The organization of data has not be
  111. defined before the first write. See
  112. <b>TIFFSetField</b>(3TIFF) for information on how to do
  113. this.</p>
  114. <!-- INDENTATION -->
  115. <p><b>%s: No space for strip arrays&quot;</b>. There was not
  116. enough space for the arrays that hold strip offsets and byte
  117. counts.</p>
  118. <!-- INDENTATION -->
  119. <p><b>%s: Strip %d out of range, max %d</b>. The specified
  120. strip is not a valid strip according to the currently
  121. specified image dimensions.</p>
  122. </td>
  123. </table>
  124. <a name="SEE ALSO"></a>
  125. <h2>SEE ALSO</h2>
  126. <!-- INDENTATION -->
  127. <table width="100%" border=0 rules="none" frame="void"
  128. cols="2" cellspacing="0" cellpadding="0">
  129. <tr valign="top" align="left">
  130. <td width="8%"></td>
  131. <td width="91%">
  132. <p><b>TIFFOpen</b>(3TIFF),
  133. <b>TIFFWriteEncodedStrip</b>(3TIFF),
  134. <b>TIFFWriteScanline</b>(3TIFF), <b>libtiff</b>(3TIFF)</p>
  135. <!-- INDENTATION -->
  136. <p>Libtiff library home page:
  137. <b>http://www.remotesensing.org/libtiff/</b></p>
  138. </td>
  139. </table>
  140. <hr>
  141. </body>
  142. </html>