13 unstable releases (4 breaking)

✓ Uses Rust 2018 edition

new 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

#3 in Encoding

Download history 164/week @ 2019-11-01 130/week @ 2019-11-08 209/week @ 2019-11-15 148/week @ 2019-11-22 102/week @ 2019-11-29 305/week @ 2019-12-06 35/week @ 2019-12-13 82/week @ 2019-12-20 104/week @ 2019-12-27 239/week @ 2020-01-03 293/week @ 2020-01-10 217/week @ 2020-01-17 183/week @ 2020-01-24 185/week @ 2020-01-31 135/week @ 2020-02-07

750 downloads per month
Used in 8 crates

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