pub fn image_to_png_bytes(image: &RgbBuffer) -> Result<Vec<u8>, ImageError>
Converts a RgbBuffer to a Vec of bytes representing a PNG