13 unstable releases (4 breaking)

✓ Uses Rust 2018 edition

0.5.1 Feb 15, 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

#2 in Encoding

Download history 40/week @ 2019-12-15 92/week @ 2019-12-22 125/week @ 2019-12-29 214/week @ 2020-01-05 338/week @ 2020-01-12 183/week @ 2020-01-19 214/week @ 2020-01-26 152/week @ 2020-02-02 167/week @ 2020-02-09 436/week @ 2020-02-16 208/week @ 2020-02-23 250/week @ 2020-03-01 445/week @ 2020-03-08 315/week @ 2020-03-15 379/week @ 2020-03-22 199/week @ 2020-03-29

750 downloads per month
Used in 9 crates (8 directly)

BSD-2-Clause

205KB
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.32
  • TIFF Revision 6.0
  • ISO/IEC 14496-12:2015
  • ISO/IEC 23008-12:2017

Dependencies