pub fn to_rgba(img: &IndexedImage, palette: &IndexedPalette) -> Vec<u8> ⓘExpand description
Expands palette indices to RGBA8 (for tests, previews and GPU upload).
pub fn to_rgba(img: &IndexedImage, palette: &IndexedPalette) -> Vec<u8> ⓘExpands palette indices to RGBA8 (for tests, previews and GPU upload).