exr 0.6.1

Read and write OpenEXR files without any unsafe code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

// exr imports
extern crate exr;
use exr::image::simple::*;

/// Read an image and print information about the image into the console.
/// Uses multicore decompression where appropriate.
#[test]
fn read_image() {
    let image = Image::read_from_file(
        "./testout/noisy.exr",
        ReadOptions::high()
    ).unwrap();

    println!("image was read: {:#?}", image);
}