pub fn png_to_vec(png_contents: &impl ToPng) -> Vec<u8> ⓘ
Creates a PNG file with the given image data.