]>
Commit | Line | Data |
---|---|---|
8414a40c VZ |
1 | .\" |
2 | .\" Copyright (c) 2002, Andrey Kiselev <dron@ak4719.spb.edu> | |
3 | .\" | |
4 | .\" Permission to use, copy, modify, distribute, and sell this software and | |
5 | .\" its documentation for any purpose is hereby granted without fee, provided | |
6 | .\" that (i) the above copyright notices and this permission notice appear in | |
7 | .\" all copies of the software and related documentation, and (ii) the names of | |
8 | .\" Sam Leffler and Silicon Graphics may not be used in any advertising or | |
9 | .\" publicity relating to the software without the specific, prior written | |
10 | .\" permission of Sam Leffler and Silicon Graphics. | |
11 | .\" | |
12 | .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, | |
13 | .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY | |
14 | .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. | |
15 | .\" | |
16 | .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR | |
17 | .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, | |
18 | .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | |
19 | .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF | |
20 | .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | |
21 | .\" OF THIS SOFTWARE. | |
22 | .\" | |
23 | .if n .po 0 | |
24 | .TH TIFFDataWidth 3TIFF "September 12, 2002" "libtiff" | |
25 | .SH NAME | |
26 | TIFFDataWidth \- Get the size of TIFF data types | |
27 | .SH SYNOPSIS | |
28 | .B "#include <tiffio.h>" | |
29 | .sp | |
30 | .BI "int TIFFDataWidth(TIFFDataType " type ")" | |
31 | .SH DESCRIPTION | |
32 | .I TIFFDataWidth | |
33 | returns a size of | |
34 | .I type | |
35 | in bytes. | |
36 | Currently following data types are supported: | |
37 | .br | |
38 | .I TIFF_BYTE | |
39 | .br | |
40 | .I TIFF_ASCII | |
41 | .br | |
42 | .I TIFF_SBYTE | |
43 | .br | |
44 | .I TIFF_UNDEFINED | |
45 | .br | |
46 | .I TIFF_SHORT | |
47 | .br | |
48 | .I TIFF_SSHORT | |
49 | .br | |
50 | .I TIFF_LONG | |
51 | .br | |
52 | .I TIFF_SLONG | |
53 | .br | |
54 | .I TIFF_FLOAT | |
55 | .br | |
56 | .I TIFF_IFD | |
57 | .br | |
58 | .I TIFF_RATIONAL | |
59 | .br | |
60 | .I TIFF_SRATIONAL | |
61 | .br | |
62 | .I TIFF_DOUBLE | |
63 | .br | |
64 | .SH "RETURN VALUES" | |
65 | .br | |
66 | .IR TIFFDataWidth | |
67 | returns a number of bytes occupied by the item of given type. 0 returned when | |
68 | uknown data type supplied. | |
69 | .SH "SEE ALSO" | |
70 | .BR libtiff (3TIFF), | |
71 | .PP | |
72 | Libtiff library home page: | |
73 | .BR http://www.remotesensing.org/libtiff/ |