Skip to main content

apply_palette_rgba_bytes

Function apply_palette_rgba_bytes 

Source
pub fn apply_palette_rgba_bytes(
    indexed: &[u8],
    palette: &[u32],
    target: &mut [u8],
)
Expand description

Apply a palette to indexed pixel data, producing RGBA bytes.