libopenraw
This is the Rust API for libopenraw.
It needs libopenraw 0.3 by way of libopenraw-sys
.
Its current implementation is limited to extrating thumbnails.
use libopenraw as or;
let raw_file = from_file
.expect;
let orientation = raw_file.get_orientation;
let thumbnail = raw_file.get_thubmnail.expect;
// Get the size fo the thumbnail
let = thumbnail.get_dimensions;
let buf = thumbnail.get_data.expect;