Function openexr::flat::flat_image_io::save_flat_image [−][src]
pub fn save_flat_image<P: AsRef<Path>>(
filename: P,
image: &FlatImage
) -> Result<(), Error>
Expand description
Saves image
in an OpenEXR file at path filename
. The file will be tiled
if the image has more than one level, otherwise the file will be scan-line
based.
Errors
Error::Base
- if any error occurs