kamadak / exif-rs

Exif parsing library written in pure Rust
BSD 2-Clause "Simplified" License
204 stars 46 forks source link
exif jpeg parser reader rust tiff

Exif parsing library written in pure Rust

This is a pure-Rust library to parse Exif data. This library parses Exif attributes in a raw Exif data block. It can also read Exif data directly from some image formats.

Supported formats are:

Usage

Add a dependency entry to your Cargo.toml. Specify "kamadak-exif" if you use crates.io. The canonical name of this crate is "exif", but it is renamed on crates.io to avoid a naming conflict.

  [dependencies]
  kamadak-exif = "x.y.z"

Add the following to your crate root (before Rust 2018).

  extern crate exif;

Run "cargo doc" in the source directory to generate the API reference. It is also available online at https://docs.rs/kamadak-exif.

See examples directory for sample codes.

Dependencies

Rust 1.60 or later is required to build.

Standards