pub const MAX_SIDE: u32 = 4096;
The longest side an image may have, in pixels: what every graphics card the engine runs on (WebGL included) takes as one texture.