]>
Commit | Line | Data |
---|---|---|
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 | ||
11 | <h1 align=center>TIFFDataWidth</h1> | |
12 | <a href="#NAME">NAME</a><br> | |
13 | <a href="#SYNOPSIS">SYNOPSIS</a><br> | |
14 | <a href="#DESCRIPTION">DESCRIPTION</a><br> | |
15 | <a href="#RETURN VALUES">RETURN VALUES</a><br> | |
16 | <a href="#SEE ALSO">SEE ALSO</a><br> | |
17 | ||
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>TIFFDataWidth − Get the size of TIFF data types</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 <tiffio.h></b></p> | |
39 | <!-- INDENTATION --> | |
40 | <p><b>int TIFFDataWidth(TIFFDataType</b> | |
41 | <i>type</i><b>)</b></p> | |
42 | </td> | |
43 | </table> | |
44 | <a name="DESCRIPTION"></a> | |
45 | <h2>DESCRIPTION</h2> | |
46 | <!-- INDENTATION --> | |
47 | <table width="100%" border=0 rules="none" frame="void" | |
48 | cols="2" cellspacing="0" cellpadding="0"> | |
49 | <tr valign="top" align="left"> | |
50 | <td width="8%"></td> | |
51 | <td width="91%"> | |
52 | <p><i>TIFFDataWidth</i> returns a size of <i>type</i> in | |
53 | bytes. Currently following data types are supported:<i><br> | |
54 | TIFF_BYTE<br> | |
55 | TIFF_ASCII<br> | |
56 | TIFF_SBYTE<br> | |
57 | TIFF_UNDEFINED<br> | |
58 | TIFF_SHORT<br> | |
59 | TIFF_SSHORT<br> | |
60 | TIFF_LONG<br> | |
61 | TIFF_SLONG<br> | |
62 | TIFF_FLOAT<br> | |
63 | TIFF_IFD<br> | |
64 | TIFF_RATIONAL<br> | |
65 | TIFF_SRATIONAL<br> | |
66 | TIFF_DOUBLE</i></p> | |
67 | </td> | |
68 | </table> | |
69 | <a name="RETURN VALUES"></a> | |
70 | <h2>RETURN VALUES</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><i>TIFFDataWidth</i> returns a number of bytes occupied | |
78 | by the item of given type. 0 returned when uknown data type | |
79 | supplied.</p> | |
80 | </td> | |
81 | </table> | |
82 | <a name="SEE ALSO"></a> | |
83 | <h2>SEE ALSO</h2> | |
84 | <!-- INDENTATION --> | |
85 | <table width="100%" border=0 rules="none" frame="void" | |
86 | cols="2" cellspacing="0" cellpadding="0"> | |
87 | <tr valign="top" align="left"> | |
88 | <td width="8%"></td> | |
89 | <td width="91%"> | |
90 | <p><b>libtiff</b>(3TIFF),</p> | |
91 | <!-- INDENTATION --> | |
92 | <p>Libtiff library home page: | |
93 | <b>http://www.remotesensing.org/libtiff/</b></p> | |
94 | </td> | |
95 | </table> | |
96 | <hr> | |
97 | </body> | |
98 | </html> |