RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_image_limits_t Struct Reference

Per-decode hostile-input safety limits, checked before pixel allocation. More...

#include <image.h>

Data Fields

int max_dimension
uint64_t max_pixels

Detailed Description

Per-decode hostile-input safety limits, checked before pixel allocation.

Both fields must be positive. NULL limits select RMGUI_IMAGE_LIMITS_DEFAULT. A caller may raise either limit; integer and allocation size limits remain.

Field Documentation

◆ max_dimension

int rmgui_image_limits_t::max_dimension

◆ max_pixels

uint64_t rmgui_image_limits_t::max_pixels

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