Commit Graph

19 Commits

Author SHA1 Message Date
Alberto Griggio
6224921843 metadata: workaround for misbehaviour of exiv2 on ubuntu 20.04
(cherry picked from commit 26b8860d4bb803cff0277c7b2353b58b5e02fbc6)
2022-12-10 09:49:37 -08:00
Alberto Griggio
30e77ee96f fixed compilation error with Apple Clang 7.0.0
(cherry picked from commit dd5b10d9dc8eb7447e37ac30ddd7545897c878b0)
2022-12-10 09:44:24 -08:00
David Hunt
7c9726ddbe metadata: use std::unique_ptr instead of Exiv2::Image::AutoPtr
Fixes #55

(cherry picked from commit 9466fc133f1af465a784a7384cf0369d7c35b901)
2022-12-10 09:35:23 -08:00
Alberto Griggio
b92e77fb96 improved support for metadata editing
(cherry picked from commit 85da0b51ecf7ece768c0267aead71dd94404d4dc)
2022-12-09 22:35:26 -08:00
Alberto Griggio
abb052e51b metadata: allow to select which metadata tags to include in the output image
(cherry picked from commit ed64206cb8b4455870815e2c51aecbd5c09e4054)
2022-12-06 22:08:23 -08:00
Alberto Griggio
9735ba5768 metadata: preserve standard exif tags (accidentally broken by 7310eb64978bb1138edbdf02fa58fb64a9326e17)
(cherry picked from commit 75a49b8cb9db957dfe13e6911dcf6c83bb92045d)
2022-12-05 21:37:57 -08:00
Alberto Griggio
c1719fbd7d metadata: better handling of makernote tags
Tentative fix for #37

(cherry picked from commit 7310eb64978bb1138edbdf02fa58fb64a9326e17)
2022-12-05 21:36:32 -08:00
Alberto Griggio
dcc00b40d1 metadata: do not include makernotes on export
Fixes #31

(cherry picked from commit 3a8d8ece897eb4df61887160a30722bd07a77174)
2022-12-05 21:35:12 -08:00
Alberto Griggio
e205ff86cc fixed compilation problem with exiv2 < 0.27
(cherry picked from commit b4d178fdab61814be8ab93f0ecd7d74f78c4087f)
2022-12-05 21:23:46 -08:00
Alberto Griggio
200779aa84 metadata: better error handling
(cherry picked from commit 0e26c15a730854883ae31d164b460d70393c2848)
2022-12-05 21:23:26 -08:00
Alberto Griggio
e90ffe979b metadata: catch std::exception instead of Exiv2::AnyError for better robustness
(cherry picked from commit 0e2d9332f633b060bd4d5cbcd9d47009bab0c46c)
2022-12-05 21:19:21 -08:00
Alberto Griggio
e7fdad875a metadata: cache recent files for faster operation
(cherry picked from commit 6ee014ddb7ab77537289e1f41f13345e5db54710)
2022-12-04 17:27:02 -08:00
Alberto Griggio
25d67c12c1 metadata: remove unwanted tags *after* merging XMP sidecars, not before
(cherry picked from commit b45666f61ac9c6083bdc22811351d72bf35497bb)
2022-12-04 17:09:15 -08:00
Alberto Griggio
7c39f35317 metadata: removed some harmful tags from the exported images
(cherry picked from commit 94c3e87113384f4c20b10f467a1c35e90709d161)
2022-12-04 17:08:53 -08:00
Alberto Griggio
38d87bae72 metadata: keep makernotes
(cherry picked from commit 494ae069d4f9d985b65375e104513f9c85453d5b)
2022-12-04 16:29:57 -08:00
Alberto Griggio
77d7e633e5 metadata: erase also jpeg thumbnail
(cherry picked from commit 88661755506cd48393e69e809cf0559572cb213d)
2022-12-04 16:29:38 -08:00
Alberto Griggio
2d412d7404 metadata: do not copy exif rotate info from the original image -- it might just be plain wrong
(cherry picked from commit 8f14684588b3c0aec1aab37f4225c99954f6f587)
2022-12-04 16:26:14 -08:00
Alberto Griggio
a4b0801646 fixed bugs in metadata saving
(cherry picked from commit 880b1d3d865a7820051cf3023cc58802daca28b0)
2022-12-04 16:13:04 -08:00
Alberto Griggio
1a771fa211 more work on synchronizing metadata with xmp sidecars
(cherry picked from commit 81bbff6e6ae87bd35e8050a1cc621297ca24939b)
2022-12-04 15:55:09 -08:00