manpagez: man pages & more
man _TIFFauxiliary(3)
Home | html | info | man
_TIFFAUXILIARY(3tiff)               LibTIFF              _TIFFAUXILIARY(3tiff)


NAME

       _TIFFauxiliary - auxiliary functions


SYNOPSIS


          #include <tiffio.h>

       uint32_t _TIFFClampDoubleToUInt32(double val)

       uint32_t _TIFFMultiply32(TIFF *tif, uint32_t first, uint32_t second,
       const char *where)

       uint64_t _TIFFMultiply64(TIFF *tif, uint64_t first, uint64_t second,
       const char *where)


DESCRIPTION

       _TIFFClampDoubleToUInt32() clamps double values into the range of
       uint32_t (i.e. 0 .. 0xFFFFFFFF)

       _TIFFMultiply32() and _TIFFMultiply64() checks for an integer overflow
       of the multiplication result and return the multiplication result or 0
       if an overflow would happen.  The string where is printed in the error
       message in case an overflow happens and can be used to indicate where
       the function was called.


SEE ALSO

       libtiff(3)


AUTHOR

       LibTIFF contributors


COPYRIGHT

       1988-2022, LibTIFF contributors

4.6                             October 9, 2023          _TIFFAUXILIARY(3tiff)

tiff 4.6.0 - Generated Thu Oct 12 05:50:25 CDT 2023
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.