exif-rs/README

50 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-12-20 09:27:26 -05:00
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
2020-08-03 09:57:50 -04:00
- PNG
2020-12-14 07:12:19 -05:00
- WebP
2016-12-20 09:27:26 -05:00
2016-12-30 09:39:16 -05:00
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.
2016-12-30 09:39:16 -05:00
[dependencies]
2021-02-23 08:31:32 -05:00
kamadak-exif = "x.y.z"
2016-12-30 09:39:16 -05:00
2019-04-01 08:11:54 -04:00
Add the following to your crate root (before Rust 2018).
2016-12-30 09:39:16 -05:00
extern crate exif;
2018-01-13 09:33:45 -05:00
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.
2016-12-20 09:27:26 -05:00
Dependencies
------------
2019-12-22 06:33:18 -05:00
Rust 1.40 or later is required to build.
2016-12-20 09:27:26 -05:00
Standards
---------
2016-12-20 09:27:26 -05:00
- Exif Version 2.32
- DCF Version 2.0 (Edition 2010)
2016-12-20 09:27:26 -05:00
- TIFF Revision 6.0
- ISO/IEC 14496-12:2015
- ISO/IEC 23008-12:2017
2020-08-03 09:57:50 -04:00
- PNG Specification, Version 1.2
- Extensions to the PNG 1.2 Specification, version 1.5.0
2020-12-14 07:12:19 -05:00
- WebP Container Specification, committed on 2018-04-20