Threshold for considering an image “large” requiring GPU tiling
Atlas fragment/tile size in pixels. Large images are split into fragments of this size.
Must match the atlas SIZE constant in libcosmic/iced/wgpu/src/image/atlas.rs
Scale factor for HiDPI displays - decode at higher resolution than display size
for better quality on high-DPI screens. 1.5x provides good balance between
quality and memory usage and also prevets re-decoding on small windows size adjustments.
Maximum memory allocation for gallery image decoding in MB.
Gallery mode uses the full memory budget since only one image decodes at a time.
This matches the ThumbCfg max_mem_mb budget for consistency.
System memory reserve in MB to maintain for system stability (prevents thrashing)
Note: RAM checking is currently only available on Linux via procfs.
On Windows and macOS, only GPU buffer limits are enforced.