image2::io
pub fn write<P: AsRef<Path>, T: Type, C: Color, I: Image<T, C>>( path: P, image: &I) -> Result<(), Error>
Write image to disk, the output type is determined by the extension of the output image path