pub fn write_ppm_file( path: impl AsRef<Path>, image: &RasterImage, ) -> Result<(), ErrorsJSL>
Writes a binary PGM or PPM file.