logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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