Alex Forencich
2c9f5a735d
Add raw_crop and masked_areas for Canon EOS R7 and R10 ( #6608 )
...
Signed-off-by: Alex Forencich <alex@alexforencich.com >
2022-12-31 08:51:22 +01:00
Morgan Hardwood
bbe4558dff
Improvement to dcraw linear_table #6448
...
Merged on behalf of heckflosse
https://github.com/Beep6581/RawTherapee/pull/6448#issuecomment-1081779513
2022-12-18 03:55:29 +01:00
Beep6581
3713e36937
Merge pull request #6448 from sgotti/dcraw_linear_table_increase_size
...
dcraw: increase linear table parsing to 65536 values
2022-12-18 03:32:21 +01:00
Lawrence37
9332333a12
Speed up compilation of rtengine/procparams.cc
2022-12-16 23:01:23 -08:00
Andy Dodd
09e9884757
iccstore: Allow loading profiles from user-writable configuration directory
...
In addition to bundled profiles and the system ICC profile store, load profiles from a user-writable/user-specific directory
On Linux, this is $HOME/.config/RawTherapee/iccprofiles/output - corresponding to "input" being already supported
Partial fix for part of #6644
2022-12-14 19:05:49 -05:00
Desmis
dcd2d3df0e
Replace Observer 10 by Observer 2 in most cases - see issue 6639 ( #6640 )
...
* Change observer10 to observer2
* Another forgotten change observer 2 10
* Change colortemp.cc in accordance to options Itcwb_stdobserver10
2022-12-11 13:51:44 +01:00
Alberto Griggio
eb7c151260
metadata: fixed regression with older exiv2 versions
...
Fixes #246
(cherry picked from commit ac3e78c25ed5b14019661d5c6c58af15032e968d)
2022-12-10 11:54:45 -08:00
Alberto Griggio
2ac459e927
further tweaks to lens identification
...
(cherry picked from commit 4fd18fed00eb799b8d82f472a98f270617bc3fb4)
2022-12-10 11:54:44 -08:00
Alberto Griggio
00c13bf2af
tweaked lens identification for Canon RF cameras
...
(cherry picked from commit a7e4ef71f9b400ffd53532c91d2ecb4e17e5ce2a)
2022-12-10 11:54:44 -08:00
Alberto Griggio
9fd136c2f3
metadata: work around misidentification of some Canon RF lenses with teleconverter
...
(cherry picked from commit 3aae273f862f0c1611a134c6e84f460bba83bcf4)
2022-12-10 11:54:44 -08:00
Alberto Griggio
c7d5b5076d
metadata: fallback to Exif.Photo.LensModel for lenses unknown to exiv2
...
(cherry picked from commit 64e25471b003e302414d0cf48f64ccd1a988b454)
2022-12-10 11:54:44 -08:00
Alberto Griggio
09d72259e3
take care of some warnings
...
Fixes #223
(cherry picked from commit f5bc793aa1efcba183602de3eec4746f4da3db8e)
2022-12-10 11:54:44 -08:00
Alberto Griggio
b409e0bab2
fixed handling IPTC metadata that admit multiple values
...
(cherry picked from commit 8becb08ec1417215bf8f02c54000d37c2e6920f0)
2022-12-10 11:54:43 -08:00
Alberto Griggio
2ce81cccc5
metadata: fixed glitches in importing IPTC tags
...
(cherry picked from commit 3d03f654e22ca01f058492eab2c8fcbc564dc1b9)
2022-12-10 11:00:40 -08:00
Alberto Griggio
f2248dce9d
metadata: detect pixelshift files from sony and fujifilm
...
(cherry picked from commit 6554778f7bc6ce50c3bb8a98ca1907cb945c2e34)
2022-12-10 10:55:38 -08:00
Alberto Griggio
a73e74f9cc
metadata: fixed bug in setting shutter speed in output jpgs
...
(cherry picked from commit b6a1a15a76c2091f6f940ae7d16d45caa93dbb99)
2022-12-10 10:55:25 -08:00
Alberto Griggio
77d1bc2cb1
metadata: use exiv2 to handle BMFF files (e.g. CR3) if supported
...
(cherry picked from commit 1469a0a8225cb44fe7f130f375879aef23496a8b)
2022-12-10 10:53:23 -08:00
Alberto Griggio
c75296b910
metadata: properly set the value of Exif.Photo.ExposureBiasValue
...
(cherry picked from commit b0bdd1fda6759b8041a0cbf5ce977e947ea10cff)
2022-12-10 10:52:18 -08:00
Alberto Griggio
522f6f4473
metadata: make sure to include XResolution and YResolution when writing TIFFs
...
This is mandatory (according to http://dpfmanager.org ), and in fact needed for
Photoshop compatibility
(cherry picked from commit 5d281810cc7a7f7dc563dde030cf90c78dbf55d0)
2022-12-10 10:46:29 -08:00
Alberto Griggio
939315f67b
metadata: do not exclude tags that were explicitly selected by the user
...
(cherry picked from commit 60d862fa72046ecf8f44c2a1677f72237e86e838)
2022-12-10 10:43:55 -08:00
Alberto Griggio
ba79d8b7f0
(hopefully) better metadata formatting
...
(cherry picked from commit 89be8ee8e71b1d56f5c6ce7ce4068ab330e19d68)
2022-12-10 10:43:41 -08:00
Alberto Griggio
7d5b9e9d65
metadata: fixed bug in transferring basic tags
...
(cherry picked from commit 89afbd90e154ddd5e6071c44990b68aa62227739)
2022-12-10 10:41:53 -08:00
Alberto Griggio
3d209e687d
metadata: filter out unwanted tags when syncing with xmp sidecars
...
(cherry picked from commit 239f3f59b931efb15482134fffd5f6065616e574)
2022-12-10 10:41:15 -08:00
Alberto Griggio
d16bc6f6ea
metadata: do not copy Exif tags with 0 count
...
Tentative fix for #147
(cherry picked from commit 12f699df10c1c0854c0e882db151560a1f4f3a26)
2022-12-10 10:39:11 -08:00
Alberto Griggio
92befa7e81
refactored code for extracting image dimensions from metadata
...
(cherry picked from commit 0ece9c5bfad09bc9052238d83fa696ef39effaaa)
2022-12-10 10:37:58 -08:00
Alberto Griggio
0102fca563
improved metadata extraction from ancient Kodak DCS4xx cameras
...
(cherry picked from commit a2cc73f5f4769ad9ad2daaea9b5adbe7b158ad9e)
2022-12-10 10:05:25 -08:00
Alberto Griggio
322e709bcb
metadata: do not accidentally remove exif tags when embedding the arp sidecar in XMP
...
Fixes #127
(cherry picked from commit 49cbe9bd19db558a4be36221472cbb5e78aa95a2)
2022-12-10 10:01:15 -08:00
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
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
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
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
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
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
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