exr 0.7.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
17


// exr imports
extern crate exr;
use exr::prelude::*;

/// Print the custom meta data of a file, excluding technical file meta data.
fn main() {
    let meta_data = MetaData::read_from_file("D:/Pictures/openexr/crowskull/crow_uncompressed.exr").unwrap();

    for image_layer in meta_data.headers {
        println!(
            "custom meta data of layer: {:#?}",
            image_layer.own_attributes
        );
    }
}