pub fn subpixel_offset(quantized: u8) -> f32
Convert a quantized bucket index back to the fractional pixel offset it represents.