TIFFDataWidth.3tiff - Man Page

get the size of TIFF data types

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:

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

Info

Sep 08, 2023 4.6 LibTIFF