Crates.io | gufo-exif |
lib.rs | gufo-exif |
version | 0.1.3 |
source | src |
created_at | 2024-06-27 15:48:31.022174 |
updated_at | 2024-08-21 19:30:51.223229 |
description | Exif loading and editing |
homepage | |
repository | https://github.com/gufo-rs/gufo |
max_upload_size | |
id | 1285906 |
size | 83,814 |
Gufo exif is a native Rust crate to read and edit EXIF metadata.
This crate is specifically focused on editing EXIF data while preserving the existing structure as much as possible. Every edit operation tries to only updates the raw data as much as necessary.
The high level API in Exif
provides simple access to commonly used metadata.
let data = std::fs::read("tests/example.jpg").unwrap();
let jpeg = gufo_jpeg::Jpeg::new(&data);
let raw_exif = jpeg.exif_data().next().unwrap().to_vec();
eprintln!("{}", String::from_utf8_lossy(&raw_exif));
let exif = gufo_exif::Exif::new(raw_exif).unwrap();
println!("Camera Model: {}", exif.model().unwrap());
This library also exposes lower level access to the Exif data. More details can be found in the internal
documentation.
Crate | Info | Comment |
---|---|---|
exif-rs | Native, read only | Abandoned |
exif-sys | FFI bindings for libexif | Abandoned |
exif | Save binding for exif-sys | Abandoned |
gexiv2 | FFI bindings for gexiv2 | |
imagemeta | Native | Abandoned |
kamadak-exif | Native, experimental writing | Quasi standard |
little_exif | Native | |
peck-exif | Native, read only | |
rexif | Native | |
rexiv2 | Save bindings for gexiv2 |