-
Notifications
You must be signed in to change notification settings - Fork 48
/
README
49 lines (36 loc) · 1.34 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
- PNG
- WebP
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
---------
- Exif Version 2.32
- DCF Version 2.0 (Edition 2010)
- TIFF Revision 6.0
- ISO/IEC 14496-12:2015
- ISO/IEC 23008-12:2017
- PNG Specification, Version 1.2
- Extensions to the PNG 1.2 Specification, version 1.5.0
- WebP Container Specification, committed on 2018-04-20