Skip to main content

to_rgba

Function to_rgba 

Source
pub fn to_rgba(img: &IndexedImage, palette: &IndexedPalette) -> Vec<u8> ⓘ
Expand description

Expands palette indices to RGBA8 (for tests, previews and GPU upload).