rexiv2
rexiv2 copied to clipboard
Rust library for read/write access to media-file metadata (Exif, XMP, and IPTC)
The current bindings only allow to save to a file. For our use case, we need to parse and remove exif tags in memory, for all kinds of images. =>...
This implies: For setting GPS info, the three components need to be supplied explicitly and separate. This is not ideal because of the asymmetry in get / set GPS info....
Suggestion: A possible (partial?) solution to #42. The gexiv2 functions to access GPS latitude, longitude and altitude are exposed. The already present function `get_gps_info()` returns None if the altitude is...
I have fixed a memory leak in `get_thumbnail` and changed the way preview images are loaded to skip a (potentially costly) copy. This will slightly change the API (`Metadata::get_thumbnail` and...
GExiv2 has three functions to manipulate comments: - [`gexiv2_metadata_get_comment()`](https://gnome.pages.gitlab.gnome.org/gexiv2/docs/gexiv2-High-level-functions-for-specific-information.html#gexiv2-metadata-get-comment) - [`gexiv2_metadata_set_comment()`](https://gnome.pages.gitlab.gnome.org/gexiv2/docs/gexiv2-High-level-functions-for-specific-information.html#gexiv2-metadata-set-comment) - [`gexiv2_metadata_clear_comment()`](https://gnome.pages.gitlab.gnome.org/gexiv2/docs/gexiv2-High-level-functions-for-specific-information.html#gexiv2-metadata-clear-comment) It would be nice to have them as, contrary to what the `gexiv2_metadata_get_comment()` doc says, it can...
The function [`gexiv2_metadata_get_gps_info`](https://gitlab.gnome.org/GNOME/gexiv2/blob/gexiv2-0.12.1/gexiv2/gexiv2-metadata-gps.cpp#L186) returns false if not all three coordinates (lat, lon, altitude) are set. This is a minor problem for gexiv2 because the `gexiv2_metadata_get_gps_longitude/latitude/altitude` functions exist separately. Of course,...
We used to have this (tracked in https://github.com/felixc/rexiv2/issues/18, set up in https://github.com/felixc/rexiv2/commit/90ae678d6c39d56b1ea4c32344fd486e0b2fc250), but it had to be removed in https://github.com/felixc/rexiv2/commit/1aff63ed8e298a7e3614e09a972ca433fd1775f5 because the `travis-cargo` project we'd been using had broken ages...
A few samples under `examples` would be nice and help with documentation, plus providing a minimal level of testing.
By taking advantage of gexiv2-sys's optional `xmp-packet-access` feature (felixc/gexiv2-sys@56098a3), we can expose this functionality in rexiv2. This should be implemented as an optional feature.
Hi, I’m currently trying to get one of my projects to build on windows (using a GitHub action on a `windows-latest` runner, so the environment should be easily reproducible) and...