TIFFDataWidth.3tiff.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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>TIFFDataWidth</title>
  8. </head>
  9. <body>
  10. <h1 align=center>TIFFDataWidth</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="#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>TIFFDataWidth &minus; Get the size of TIFF data types</p>
  26. </td>
  27. </table>
  28. <a name="SYNOPSIS"></a>
  29. <h2>SYNOPSIS</h2>
  30. <!-- INDENTATION -->
  31. <table width="100%" border=0 rules="none" frame="void"
  32. cols="2" cellspacing="0" cellpadding="0">
  33. <tr valign="top" align="left">
  34. <td width="8%"></td>
  35. <td width="91%">
  36. <p><b>#include &lt;tiffio.h&gt;</b></p>
  37. <!-- INDENTATION -->
  38. <p><b>int TIFFDataWidth(TIFFDataType</b>
  39. <i>type</i><b>)</b></p>
  40. </td>
  41. </table>
  42. <a name="DESCRIPTION"></a>
  43. <h2>DESCRIPTION</h2>
  44. <!-- INDENTATION -->
  45. <table width="100%" border=0 rules="none" frame="void"
  46. cols="2" cellspacing="0" cellpadding="0">
  47. <tr valign="top" align="left">
  48. <td width="8%"></td>
  49. <td width="91%">
  50. <p><i>TIFFDataWidth</i> returns a size of <i>type</i> in
  51. bytes. Currently following data types are supported:<i><br>
  52. TIFF_BYTE<br>
  53. TIFF_ASCII<br>
  54. TIFF_SBYTE<br>
  55. TIFF_UNDEFINED<br>
  56. TIFF_SHORT<br>
  57. TIFF_SSHORT<br>
  58. TIFF_LONG<br>
  59. TIFF_SLONG<br>
  60. TIFF_FLOAT<br>
  61. TIFF_IFD<br>
  62. TIFF_RATIONAL<br>
  63. TIFF_SRATIONAL<br>
  64. TIFF_DOUBLE</i></p>
  65. </td>
  66. </table>
  67. <a name="RETURN VALUES"></a>
  68. <h2>RETURN VALUES</h2>
  69. <!-- INDENTATION -->
  70. <table width="100%" border=0 rules="none" frame="void"
  71. cols="2" cellspacing="0" cellpadding="0">
  72. <tr valign="top" align="left">
  73. <td width="8%"></td>
  74. <td width="91%">
  75. <p><i>TIFFDataWidth</i> returns a number of bytes occupied
  76. by the item of given type. 0 returned when unknown data type
  77. supplied.</p>
  78. </td>
  79. </table>
  80. <a name="SEE ALSO"></a>
  81. <h2>SEE ALSO</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>libtiff</b>(3TIFF),</p>
  89. <!-- INDENTATION -->
  90. <p>Libtiff library home page:
  91. <b>http://www.simplesystems.org/libtiff/</b></p>
  92. </td>
  93. </table>
  94. <hr>
  95. </body>
  96. </html>