11128 Commits

Author SHA1 Message Date
Alberto Griggio
393dbcf9f9
metadata: allow the user to specify XResolution/YResolution
see https://discuss.pixls.us/t/note-to-the-dev-guys-about-72-ppi-output

(cherry picked from commit ad237944699800368ba50151f6774ee203d61ed5)
2022-12-10 09:56:36 -08:00
Alberto Griggio
1e0cf45445
metadata: use copyXmpTo* instead of moveXmpTo*
(cherry picked from commit d3ac9618f8a3e2688f7a084419eeebbe24a76664)
2022-12-10 09:52:43 -08:00
Alberto Griggio
0415d556fc
exifpanel: ignore errors when printing tags in human-readable form
(cherry picked from commit 47fa34e7365d618f250826eb412c72fe0ab8cfed)
2022-12-10 09:51:32 -08:00
Alberto Griggio
6cec805774
metadata: try to be more robust when saving
Tentative fix for #89

(cherry picked from commit a8b53fef753c7a1146013feeb66be87c688b8631)
2022-12-10 09:51:16 -08:00
Alberto Griggio
700eeccb39
metadata: don't raise error if exif is empty when opening an image for saving
Fixes #79 (regression introduced by 26b8860d4bb803cff0277c7b2353b58b5e02fbc6)

(cherry picked from commit 62ae8e15b8ca07cbe545ed42c323e986448c3213)
2022-12-10 09:50:50 -08:00
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
41834c7007
cmake: fix build issue on opensuse (exiv2 library not found)
Fixes #64

(cherry picked from commit 33ced3e42605fcc4f69a0be03aa4df3691fa66f9)
2022-12-10 09:48:54 -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
Alberto Griggio
38eb9f9f18
exifpanel: improved ui for editing tags
(cherry picked from commit f6f4ddf54c25e6e577bf4960ea51fc23e8434559)
2022-12-10 09:43:17 -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
3f05564548
exifpanel: fixed missing markup escaping when adding tag values
Fixes #54

(cherry picked from commit 383619d6260fa10b8f112e3dc55e0323f5e99b43)
2022-12-10 09:33:40 -08:00
Alberto Griggio
1de9516ef0
metadata: better defaults and presentation of the exif tag tree
(cherry picked from commit 9edc783c1b6ba3b49c933560a73e2de126e04dc1)
2022-12-10 09:32:42 -08:00
Alberto Griggio
a9aa17f153
metadata: small tweaks to expcomp and fnumber default values in "apply changes" mode
(cherry picked from commit af20ad37cceb3b4bf0a01e46b5cec023d4170300)
2022-12-10 09:25:23 -08:00
Alberto Griggio
e970562055
metadata: check for "Exif.Photo.ExposureBiasValue" in addition to "Exif.Image.ExposureBiasValue" for exposure compensation
Fixes #49

(cherry picked from commit a7cb9add3453c581347e738110461f0af15cb1cb)
2022-12-10 09:25:01 -08:00
Alberto Griggio
1935f3d76d
exif panel: ensure that keys are not empty in the displayed tag tree
(cherry picked from commit da45bf30bddf311b6c7d0d990d078b2a37d4b500)
2022-12-10 09:24:41 -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
8a5aa6c119
exif panel: further tweaks to the metadata selection
(cherry picked from commit 207e51b64726367f2d932c000060f00b2697523f)
2022-12-09 21:26:33 -08:00
Alberto Griggio
a26e627282
Add EXIF panel activate buttons hints
Original commit message:
updated French and Brazilian translations

(cherry picked from commit 63db950a767737181b25e1888534cfac1cc40899)
2022-12-06 22:37:58 -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
5fdff8dab4
file browser: pick up star ratings from the image metadata if available
(cherry picked from commit 98f0675b2e419d18bd88259997b81bcbcc4e5c96)
2022-12-05 21:53:21 -08:00
Alberto Griggio
f62f6807a7
exifpanel: sort the list of exif tags
(cherry picked from commit 88e5ec5dc6a47d3a9cc751d2902aadc540ce0826)
2022-12-05 21:40:57 -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
ea3cf2fe8f
imageio: do not fail in saving an image if no metadata is available
(cherry picked from commit 86d48be88b6f9fe36e5e25185ec4fda7696efc25)
2022-12-05 21:34:20 -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
e3f3b8ae91
Get date taken from time digitized
Used as the fallback if the original data-time isn't available.

Original commit message:
metadata: use exiftool as a fallback for files not yet supported by exiv2 (e.g cr3)

(cherry picked from commit bdcebdecef8cca82b0d8ad7a24d267308b12e04d)
2022-12-04 17:19:17 -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
df39e13cf7
properly handle exif orientation
translate the tag value to string using the exiftool way, to be compatible with RT.
Fixes issue #4

(cherry picked from commit a4621f54b2ac82b679cf9d865a0a3e4a2ed9c468)
2022-12-04 17:08:34 -08:00
Alberto Griggio
e5c8ceac5f
metadata: fixed detection of Pentax DNG pixelshift images
(cherry picked from commit 2bdd3a6c5d79dc61fca39ea39ecd90ba9a12dee5)
2022-12-04 17:07:11 -08:00
Alberto Griggio
45acb120a6
improved lens info for fixed-lens cameras
(cherry picked from commit a1bcb1a2a65514ae1c8e0bcd3489f83f7a68ead5)
2022-12-04 17:04:43 -08:00
Alberto Griggio
0e019b745b
metadata: translate "----" to "Unknown" in lens identification
(cherry picked from commit 9b0dce535c7eeda2d20c0ef1fa342b00238a48a1)
2022-12-04 17:02:47 -08:00
Alberto Griggio
b01b0fbef0
metadata: initialize thumbnail rating from exif
(cherry picked from commit 96bd2db0d2e127678bded3bee7aa3275332826c0)
2022-12-04 17:02:33 -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
Alberto Griggio
caa23df465
report "Unknown" for unknown lenses
(cherry picked from commit 36d7710ee270d776729d926b7c4ba028713bdb06)
2022-12-04 11:48:15 -08:00
Lawrence Lee
ec84e17224
Restore cleanups to rtengine/dcp.* 2022-12-03 22:21:30 -08:00
Lawrence Lee
4223f114cb
Clean up merge 2022-12-03 21:24:17 -08:00
Thanatomanic
9fcf45dca5 Several fixes and changes made by Floessie earlier 2021-04-27 21:35:43 +02:00
Thanatomanic
ae754b2492 Merge branch 'dev' into metadata-exiv2 2021-04-27 09:59:52 +02:00
Thanatomanic
2685e1774c
Merge pull request #6208 from Beep6581/gfx100-support
Apply patch to support 16-bit Fujifilm files + support for GFX 100 and GFX100S
2021-04-18 13:51:21 +02:00
Thanatomanic
1d075175f4 Apply patch to support 16-bit Fujifilm + support for GFX100S 2021-04-18 13:40:44 +02:00
Simon Segerblom Rex
cfbc8a632d
lj92: Fix decoding of 16 bit diff values (#6190)
This is a port of the fix discussed here:
https://github.com/ilia3101/MLV-App/pull/221
2021-04-18 08:03:53 +02:00