pub fn decode_cost_bytes(w: u32, h: u32) -> u64
Bytes of memory a decode of a w×h image is budgeted at: the RGBA8 frame plus one working copy (a resize or colour conversion).
w
h