pub const MAX_JPEG2000_BITS: u8 = 21;
The most bits per value read: the 5/3 wavelet’s sums in hayro-jpeg2000’s f32 stay below 2^24, and so exact, for samples of at most 21 bits (see the module’s documentation).
hayro-jpeg2000
f32
2^24