1TIFFDataWidth(3TIFF)                                      TIFFDataWidth(3TIFF)
2
3
4

NAME

6       TIFFDataWidth - Get the size of TIFF data types
7

SYNOPSIS

9       #include <tiffio.h>
10
11       int TIFFDataWidth(TIFFDataType type)
12

DESCRIPTION

14       TIFFDataWidth  returns  a  size  of type in bytes.  Currently following
15       data types are supported:
16       TIFF_BYTE
17       TIFF_ASCII
18       TIFF_SBYTE
19       TIFF_UNDEFINED
20       TIFF_SHORT
21       TIFF_SSHORT
22       TIFF_LONG
23       TIFF_SLONG
24       TIFF_FLOAT
25       TIFF_IFD
26       TIFF_RATIONAL
27       TIFF_SRATIONAL
28       TIFF_DOUBLE
29

RETURN VALUES

31       TIFFDataWidth returns a number of bytes occupied by the item  of  given
32       type. 0 returned when uknown data type supplied.
33

SEE ALSO

35       libtiff(3TIFF),
36
37       Libtiff library home page: http://www.simplesystems.org/libtiff/
38
39
40
41libtiff                       September 12, 2002          TIFFDataWidth(3TIFF)
Impressum