pub fn decode_pixels(
    dst: &mut [u32],
    src: &[u8],
    width: usize,
    height: usize,
    bottom_up: bool,
    itype: u16,
    palette: &[u32; 256],
    redmask: u32,
    greenmask: u32,
    bluemask: u32,
    alphamask: u32
)