TIFFWriteRawTile.3tiff.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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>TIFFWriteRawtile</title>
  8. </head>
  9. <body>
  10. <h1 align=center>TIFFWriteRawtile</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="#RETURN VALUES">RETURN VALUES</a><br>
  15. <a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
  16. <a href="#SEE ALSO">SEE ALSO</a><br>
  17. <hr>
  18. <a name="NAME"></a>
  19. <h2>NAME</h2>
  20. <!-- INDENTATION -->
  21. <table width="100%" border=0 rules="none" frame="void"
  22. cols="2" cellspacing="0" cellpadding="0">
  23. <tr valign="top" align="left">
  24. <td width="8%"></td>
  25. <td width="91%">
  26. <p>TIFFWriteRawTile &minus; write a tile of raw data to an
  27. open <small>TIFF</small> file</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>tsize_t TIFFWriteRawTile(TIFF *</b><i>tif</i><b>,
  41. ttile_t</b> <i>tile</i><b>, tdata_t</b> <i>buf</i><b>,
  42. tsize_t</b> <i>size</i><b>)</b></p>
  43. </td>
  44. </table>
  45. <a name="DESCRIPTION"></a>
  46. <h2>DESCRIPTION</h2>
  47. <!-- INDENTATION -->
  48. <table width="100%" border=0 rules="none" frame="void"
  49. cols="2" cellspacing="0" cellpadding="0">
  50. <tr valign="top" align="left">
  51. <td width="8%"></td>
  52. <td width="91%">
  53. <p>Append <i>size</i> bytes of raw data to the specified
  54. tile.</p>
  55. </td>
  56. </table>
  57. <a name="RETURN VALUES"></a>
  58. <h2>RETURN VALUES</h2>
  59. <!-- INDENTATION -->
  60. <table width="100%" border=0 rules="none" frame="void"
  61. cols="2" cellspacing="0" cellpadding="0">
  62. <tr valign="top" align="left">
  63. <td width="8%"></td>
  64. <td width="91%">
  65. <p>&minus;1 is returned if an error occurred. Otherwise, the
  66. value of <i>size</i> is returned.</p>
  67. </td>
  68. </table>
  69. <a name="DIAGNOSTICS"></a>
  70. <h2>DIAGNOSTICS</h2>
  71. <!-- INDENTATION -->
  72. <table width="100%" border=0 rules="none" frame="void"
  73. cols="2" cellspacing="0" cellpadding="0">
  74. <tr valign="top" align="left">
  75. <td width="8%"></td>
  76. <td width="91%">
  77. <p>All error messages are directed to the
  78. <b>TIFFError</b>(3TIFF) routine.</p>
  79. <!-- INDENTATION -->
  80. <p><b>%s: File not open for writing</b>. The file was opened
  81. for reading, not writing.</p>
  82. <!-- INDENTATION -->
  83. <p><b>Can not write tiles to a stripped image</b>. The image
  84. is assumed to be organized in strips because neither of the
  85. <i>TileWidth</i> or <i>TileLength</i> tags have been set
  86. with <b>TIFFSetField</b>(3TIFF).</p>
  87. <!-- INDENTATION -->
  88. <p><b>%s: Must set &quot;ImageWidth&quot; before writing
  89. data</b>. The image&rsquo;s width has not be set before the
  90. first write. See <b>TIFFSetField</b>(3TIFF) for information
  91. on how to do this.</p>
  92. <!-- INDENTATION -->
  93. <p><b>%s: Must set &quot;PlanarConfiguration&quot; before
  94. writing data</b>. The organization of data has not be
  95. defined before the first write. See
  96. <b>TIFFSetField</b>(3TIFF) for information on how to do
  97. this.</p>
  98. <!-- INDENTATION -->
  99. <p><b>%s: No space for tile arrays&quot;</b>. There was not
  100. enough space for the arrays that hold tile offsets and byte
  101. counts.</p>
  102. <!-- INDENTATION -->
  103. <p><b>%s: Specified tile %d out of range, max %d</b>. The
  104. specified tile is not valid according to the currently
  105. specified image dimensions.</p>
  106. </td>
  107. </table>
  108. <a name="SEE ALSO"></a>
  109. <h2>SEE ALSO</h2>
  110. <!-- INDENTATION -->
  111. <table width="100%" border=0 rules="none" frame="void"
  112. cols="2" cellspacing="0" cellpadding="0">
  113. <tr valign="top" align="left">
  114. <td width="8%"></td>
  115. <td width="91%">
  116. <p><b>TIFFOpen</b>(3TIFF),
  117. <b>TIFFWriteEncodedTile</b>(3TIFF),
  118. <b>TIFFWriteScanline</b>(3TIFF), <b>libtiff</b>(3TIFF)</p>
  119. <!-- INDENTATION -->
  120. <p>Libtiff library home page:
  121. <b>http://www.simplesystems.org/libtiff/</b></p>
  122. </td>
  123. </table>
  124. <hr>
  125. </body>
  126. </html>