pub fn encode_rgba8( width: u32, height: u32, rgba: &[u8], ) -> Result<Vec<u8>, ImageError>
Encode rgba (width * height * 4 bytes, row-major) as a PNG.
rgba
width * height * 4