1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! The `exif` crate provides a safe wrapper around the `libexif` C library. It provides the
//! ability to read EXIF data from image files. The entry point for inspecting a file's EXIF data
//! is [`Data::open()`](struct.Data.html#method.open). EXIF data can be inspected by iterating over
//! the data's [`contents`](struct.Content.html) and [`entries`](struct.Entry.html):
//!
//! ```
//! # use std::io;
//! # use std::path::Path;
//! fn dump_exif<P: AsRef<Path>>(file_name: P) -> io::Result<()> {
//! let data = try!(exif::Data::open("image.jpg"));
//!
//! for content in data.contents() {
//! println!("[{:=>32}{:=>46}]", format!(" {:?} ", content.ifd()), "");
//!
//! for entry in content.entries() {
//! println!(" {:<30} = {}",
//! entry.tag().title(content.ifd()),
//! entry.text_value());
//! }
//! }
//!
//! Ok(())
//! }
//! ```
extern crate exif_sys;
extern crate libc;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;