Parameters that Kanzi passes to libjpeg to use when loading jpg image files. More...
#include <kanzi/core.ui/bitmap/bitmap_image.hpp>
Public Attributes | |
size_t | maxMemory |
Sets the maximum amount of memory in bytes to allocate for a JPEG object in libjpeg. More... | |
Parameters that Kanzi passes to libjpeg to use when loading jpg image files.
size_t kanzi::LibJPEGParameters::maxMemory |
Sets the maximum amount of memory in bytes to allocate for a JPEG object in libjpeg.
This parameter corresponds to the libjpeg parameter jpeg_memory_mgr::max_memory_to_use. Note that this limit affects only the space used for virtual-array buffers and is not a guaranteed maximum but merely advisory.
The default value 0 sets no limit on the amount of memory to allocate.