Provided by: libtiff-dev_4.7.0-3ubuntu1_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-2022, LibTIFF contributors

4.7                                               Apr 30, 2025                              TIFFDATAWIDTH(3tiff)