Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

TIFFDataWidth - get the size of TIFF data types

Author

       LibTIFF contributors

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

Name

       TIFFDataWidth - get the size of TIFF data types

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)

Synopsis

          #include <tiffio.h>

       intTIFFDataWidth(TIFFDataTypetype)

See Also