photon::native
pub fn save_image(img: PhotonImage, img_path: &str)
Save the image to the filesystem at a given path.
img_path
// For example: use photon::native::save_image; // Save the image at the given path. save_image(img, "images/flowers.PNG");