Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.54 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.54 KB

Exif Lib

Library for Parsing EXIF data/metadata from image files

Usage

Terminal

From the terminal you can run cargo run with a path to a file:

cargo run './path/to/file.jpg

To print out some basic EXIF data. For now this will just give the Tag ID and value, the ID can then be looked up on an EXIF Tag Name List to see what it corresponds to

The library should work with any file formats that store EXIF data

Library

The Library exposed via the exif module will parse EXIF data from the provided file's bytes using:

let exif = exif::parse(file); // file is `&[u8]`

References

Implementation references and guidance for image formats from: