Kanzi  3.9.5
Kanzi Engine API
kanzi::LibJPEGParameters Struct Reference

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...
 

Detailed Description

Parameters that Kanzi passes to libjpeg to use when loading jpg image files.

Since
Kanzi 3.9.3

Member Data Documentation

◆ maxMemory

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.


The documentation for this struct was generated from the following file: