Expand description
Write an exr image to a file.
First, call my_image.write(). The resulting value can be customized, like this:
use exr::prelude::*;
my_image.write()
.on_progress(|progress| println!("progress: {:.1}", progress*100.0))
.to_file("image.exr").unwrap();Modules
How to read arbitrary channels and rgb channels.
How to write either a single or a list of layers.
How to write samples (a grid of f32, f16 or u32 values).
Structs
A temporary writer which can be configured and used to write an image to a file.
Traits
Enables an image to be written to a file. Call image.write() where this trait is implemented.
Functions
An oversimplified function for “just write the damn file already” use cases.
Have a look at the examples to see how you can write an image with more flexibility (it’s not that hard).
Use write_rgb_file if you do not need an alpha channel.
An oversimplified function for “just write the damn file already” use cases.
Have a look at the examples to see how you can write an image with more flexibility (it’s not that hard).
Use write_rgb_file if you do not need an alpha channel.