pub fn write_png_file( path: impl AsRef<Path>, image: &RasterImage, ) -> Result<(), ErrorsJSL>
Writes a PNG file (zlib level 6).