table of contents
other versions
- bookworm 4.5.0-6+deb12u1
- testing 4.5.1+git230720-5
- unstable 4.5.1+git230720-5
- experimental 4.6.0-2
TIFFDATAWIDTH(3tiff) | LibTIFF | TIFFDATAWIDTH(3tiff) |
NAME¶
TIFFDataWidth - get the size of TIFF data types
SYNOPSIS¶
#include <tiffio.h>
DESCRIPTION¶
TIFFDataWidth() returns the size of type within TIFF file in bytes. Currently following data types are supported:
- TIFF_BYTE
- TIFF_ASCII
- TIFF_SBYTE
- TIFF_UNDEFINED
- TIFF_SHORT
- TIFF_SSHORT
- TIFF_LONG
- TIFF_SLONG
- TIFF_FLOAT
- TIFF_IFD
- TIFF_RATIONAL
- TIFF_SRATIONAL
- TIFF_DOUBLE
- TIFF_LONG8
- TIFF_SLONG8
- TIFF_IFD8
RETURN VALUES¶
TIFFDataWidth() returns a number of bytes occupied by the item of given type within the TIFF file. 0 returned when unknown data type supplied.
SEE ALSO¶
libtiff (3tiff)
AUTHOR¶
LibTIFF contributors
COPYRIGHT¶
1988-2023, LibTIFF contributors
November 26, 2023 | 4.6 |