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