TIFFDataWidth¶
Synopsis¶
#include <tiffio.h>
-
int TIFFDataWidth(TIFFDataType type)¶
Description¶
TIFFDataWidth() returns the size of type within TIFF file in bytes.
Currently following data types are supported:
TIFF_BYTETIFF_ASCIITIFF_SBYTETIFF_UNDEFINEDTIFF_SHORTTIFF_SSHORTTIFF_LONGTIFF_SLONGTIFF_FLOATTIFF_IFDTIFF_RATIONALTIFF_SRATIONALTIFF_DOUBLETIFF_LONG8TIFF_SLONG8TIFF_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)