rahmen-exiv2
A minimal, safe wrapper over libexiv2, built for rahmen.
It exposes only the read-only image-metadata operations rahmen needs — opening an
image and reading a single Exif/Iptc/Xmp tag as an interpreted (human-readable)
string — through a small C++ shim bound with cxx. The
unavoidable FFI unsafe is confined to this crate, so dependents can keep
#![forbid(unsafe_code)].
Requirements
libexiv2development files (e.g.libexiv2-devon Debian/Ubuntu); discovered at build time viapkg-config. exiv2 0.27 and 0.28 are both supported.- A C++17 compiler.
Example
use Metadata;
let meta = new_from_path?;
let when = meta.get_tag_interpreted_string?;
println!;
# Ok::
License
GPL-3.0-only. See the repository's LICENSE.