_TIFFAUXILIARY(3tiff) | LibTIFF | _TIFFAUXILIARY(3tiff) |
_TIFFauxiliary - auxiliary functions
#include <tiffio.h>
_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.
libtiff (3tiff),
LibTIFF contributors
1988-2023, LibTIFF contributors
November 23, 2023 | 4.5 |