12 unstable releases (4 breaking)

✓ Uses Rust 2018 edition

new 0.5.0 Jan 26, 2020
0.4.0 Dec 22, 2019
0.3.1 Jun 17, 2018
0.3.0 Oct 22, 2017
0.1.0 Dec 31, 2016

#3 in Encoding

Download history 95/week @ 2019-10-15 195/week @ 2019-10-22 84/week @ 2019-10-29 205/week @ 2019-11-05 88/week @ 2019-11-12 241/week @ 2019-11-19 110/week @ 2019-11-26 72/week @ 2019-12-03 299/week @ 2019-12-10 63/week @ 2019-12-17 83/week @ 2019-12-24 174/week @ 2019-12-31 330/week @ 2020-01-07 225/week @ 2020-01-14 149/week @ 2020-01-21

699 downloads per month
Used in 8 crates

BSD-2-Clause

195KB
4K SLoC

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:

  • TIFF and some RAW image formats based on it
  • JPEG
  • HEIF and coding-specific variations including HEIC and AVIF

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 = "0.5"

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.40 or later is required to build.

Standards

  • Exif Version 2.31
  • TIFF Revision 6.0
  • ISO/IEC 14496-12:2015
  • ISO/IEC 23008-12:2017

Dependencies