Function png::decoder::transform::unpack_bits

source ยท
fn unpack_bits<F>(
    input: &[u8],
    output: &mut [u8],
    channels: usize,
    bit_depth: u8,
    func: F,
)
where F: Fn(u8, &mut [u8]),