pub fn write_rgba8( path: impl AsRef<Path>, width: u32, height: u32, rgba: &[u8], ) -> Result<(), ImageError>
Encode rgba as a PNG file at path, replacing any existing file.
rgba
path