Commit Graph

11106 Commits

Author SHA1 Message Date
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
Ingo Weyrich
2eaccc40af Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into dev 2021-04-08 19:38:32 +02:00
Ingo Weyrich
4d7b6406dd Missing copyright statements and Boost license text for files forked from SLEEF, fixes #6202 2021-04-08 19:38:10 +02:00
Lawrence37
8bf1098d7b Merge pull request #6199 from Beep6581/merge-file-neutral-background
Enable neutral colors for LA merge file
2021-04-04 09:16:36 -07:00
Desmis
cfda519894 Fixed LA shape detection adjusters range mismatch issue 6198 - thanks to Lawrence37 2021-04-04 08:35:45 +02:00
Desmis
c14a43355f Remove unused variables a_basemerg and b_basemerg 2021-04-04 08:15:01 +02:00
Lawrence Lee
a0993b624d Enable neutral colors for LA merge file 2021-04-03 11:56:22 -07:00
Desmis
128de03aed Local adjustemnts - adapt various parameters to fit labels in right tool panel issue #6153 (#6160)
* Various change to fit label in left tool panel

* Increase size left panel from 460 to 465

* Various improvment to reduce size left panel

* Others changes to reduce left panel labels

* Increase default size right panel

* Set right panel ajustable to size font

* Others small changes to mask

* Others small modifications

* change a litlle GUI - curveeditorgroup.cc - suppress curves u=in mask and reduce size right panel

* Added : to various curves label

* Others : labels curves

* Some adjustments labels sizefonts

* Change 2 forgotten length labels in denoise

* Others improvments labels

* Others labels change for retinex

* Others change labels - thanks to Wayne Sutton

* French change label length

* Change labels Wavelet levels - LA retinex - LA color and lights - and others

* Other change to mask blur

* Change box - Flowbox - thanks to Beep6581

* Adapt size box basic..advanced with size font

* Restore curveditorgroup : - change some labels and tooltips

* Remove some ':' - change and adapt labels tooltip wavelet levels

* Change flowbox for complexity under label

* Restore right panel and options to default values

* Change a label in wavelet level denoise

* Change in mask curves L(L) by L C(C) by C

* Small change labels denoise to fit in width right panel

* Others changes to GUi and labels to fit in right panel

* First change tooltips and french

* Second change tooltips

* Change tooltip mask denoise
2021-04-02 07:36:42 +02:00
Desmis
e98288ab31 Wavelet levels - enable Toning in some cases 2021-03-30 16:49:25 +02:00
Desmis
717948cf09 Local adjustments - Normalize luminance - improvment Preview TM - Retinex - Remove D.Range (#6185)
* Enable dynamic range - settings normalize luminance

* Change range DR sigma offset

* improve normalize_mean_dt with mean std before

* Save work on normalize dynamic range

* Improve normalize for TM

* Added LA retinex to normalize_mean

* Clean and optimize code

* Disabled normalize DR - improve TM and Retinex

* Clean code - first part

* Clean code - part two

* Change 2 default values Retinex

* Change order TM and Retinex in process

* remove the order number in - add tool to current spot -

* Fixed bug in TM

* Some change Retinex - default...

* optimize mean sigma

* cleanup for mean_sig

* Fix some cppcheck issues

* convert one large loop into three loops to avoid performance penalty on machines with 4-way L1 cache

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2021-03-28 12:55:29 +02:00
Thanatomanic
a64660bfa2 Support for Canon EOS RP and Canon 100D in camconst.json
Merge pull request #6187 from CarVac/patch-1
2021-03-26 10:59:20 +01:00
CarVac
3bbfdb306f Update camconst.json
Add the EOS RP (same as 6D2) and 100D/SL1/Kiss X7 (same as 700D)
2021-03-26 05:53:08 -04:00
Ingo Weyrich
871d35c228 Favorites Tab: rawBayerExposure in X-Trans, fixes #6182 2021-03-24 11:05:11 +01:00
Desmis
35cb43d675 LA -Fixed bad coloration with narrow preview (#6183) 2021-03-24 08:03:05 +01:00
Desmis
3ad786745c LA - Move colortoning labgrid from rgb to lab - issue #6132 (#6173)
* Move colortoning labgrid from rgb to lab

* Remove unnecessary variables
2021-03-23 16:59:54 +01:00
Thanatomanic
ca5a9a26de Initial support for Fujifilm X-E4 in camconst.json 2021-03-22 13:26:25 +01:00
Desmis
d90f663f83 Second forgotten nlmeans size Rt-spot 2021-03-21 20:55:35 +01:00
Desmis
619244886d Change 2 forgotten Nlmeans parameters - thanks to Lawrence37 2021-03-21 20:49:52 +01:00
Desmis
88a7a7ecc7 LA nlmeans remove limitation spot size - issue 6087 2021-03-21 10:03:27 +01:00
Desmis
170df03933 LA - Simplify GUI - Dynamic range 2021-03-19 16:58:49 +01:00
Desmis
7224412b69 Local adjustments - Nlmeans - Fixed smears image borders issue 6171 (#6172)
* Fixed ? smears image borders issue 6171

* Increase effect for borders

* Fixed smears image border nlmeans - thanks to Lawrence37
2021-03-19 08:45:56 +01:00
Desmis
c0e67b64c8 Fixed crash wavelet edge sharpness in some cases 2021-03-18 09:40:34 +01:00
Adam Reichold
fae40a137a A few more minor fixes geared towards lgtm.com alerts (#6127)
* Remove unfilled formatting placeholders in KLT parser.
* Fix presumably unintentionally missing reference on PlanatPtr and ChunkyPtr call operators.
* Fix catching pointer and make use-after-free of workimg easier to spot.
Make sure all of our thrown exceptions derive from std::exception and then catch
by reference instead of by pointer.
* Fix mismatch between array form new and non-array form delete.
* Simplify memory management of embedded color profiles by unifying allocation to use operator new.
2021-03-17 08:37:19 +01:00