Skip to main content

save_capture

Function save_capture 

Source
fn save_capture(image: &RgbaImage, dir: &Path) -> Result<PathBuf>
Expand description

Saves image as a new PNG in dir (made if need be) and returns its path.