Skip to main content

MAX_PNG_BYTES

Constant MAX_PNG_BYTES 

Source
pub const MAX_PNG_BYTES: usize = _; // 67_108_864usize
Expand description

The most bytes a PNG may have: 64 MiB, what a MAX_SIDE square of 8-bit RGBA pixels takes without compression.