Provided by: libtiff-dev_4.5.1+git230720-4ubuntu2_amd64 bug

NAME

       TIFFDataWidth - 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:

       • 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)

AUTHOR

       LibTIFF contributors

COPYRIGHT

       1988-2024, LibTIFF contributors