Commit Graph

12590 Commits

Author SHA1 Message Date
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
Beep6581
1cc3b0eb6b Merge pull request #6627 from pwntester/pwntester/add-codeql-workflow
Add CodeQL workflow
2022-12-02 15:17:45 +01:00
Alvaro Muñoz
abbdbe81bc Add CodeQL workflow 2022-12-02 13:23:34 +01:00
Thanatomanic
7b51a079cd Basic support for Fujifilm X-T5 and X-H2
Closes #6624
2022-12-02 10:03:19 +01:00
Ewout ter Hoeven
809fe5e894 CI: Update GitHub actions environments and used actions
Updates the used actions to their latest versions, and update the images to the -latest tags.

This currently means Ubuntu will use 20.04 LTS (and soon 22.04 LTS) and macOS will use macOS 12.

Also adds a workflow_dispatch trigger to the main workflow (the others already have it).
2022-11-30 21:48:20 +01:00
Desmis
9b79c241d7 Improves sharp in LA to avoid long processing if user chooses fullimage (#6616) 2022-11-30 19:14:40 +01:00
Beep6581
6aa4c870e0 Update macos.yml
Automatically publish macOS builds in tag nightly-github-actions
2022-11-27 21:34:20 +01:00
Beep6581
8e4fb15d39 Update and rename main.yml to macos.yml
Renamed main.yml to macos.yml and updated "on" section to match other workflows.
2022-11-27 20:42:05 +01:00
Morgan Hardwood
ea7c811b9b Preparing to merge back to dev 2022-11-27 20:29:39 +01:00
Morgan Hardwood
9b85839884 Preparing for release 5.9 2022-11-27 19:04:23 +01:00
Morgan Hardwood
3717e6e480 Merge branch 'dev' into release-5.9 2022-11-27 18:54:49 +01:00
Beep6581
2978a2a15b Update main.yml
Added workflow_dispatch: to allow triggering workflow manually
2022-11-27 18:50:01 +01:00
Beep6581
3182af11d3 Merge pull request #6615 from Beep6581/lensfun-db-fallback
Lensfun DB directory fallback
2022-11-27 18:39:16 +01:00
Lawrence Lee
255dc13843 Add Lensfun DB lookup fallback directory
Load from the bundled database directory if loading from the configured
location fails.
2022-11-24 17:08:00 -08:00
Beep6581
02543dae9d Merge pull request #6613 from Benitoite/patch-19
mac: fixes autobuild
2022-11-23 15:10:31 +01:00
Benitoite
1a9b5cfacd mac: install libomp11 2022-11-22 03:17:57 -08:00
Benitoite
43c8544b1f mac: brew install llvm instead of libomp 2022-11-22 03:05:13 -08:00
Benitoite
239dec3124 mac: list a dir 2022-11-22 02:54:06 -08:00
Benitoite
ea437dc852 mac: use Big Sur for the autobuild
The *Catalina* image is now deprecated
2022-11-22 02:08:18 -08:00
Desmis
7057a70bab Try to fix bug when using CBDL main and Local Sharpening (#6611)
* Work around to fix bug when using CBDL main and Local Sharpening

* Optimization int replace by bool sharplablocal

* Try to fix bug by using shardamping > 0 in LA
2022-11-21 18:28:56 +01:00
Beep6581
33a4737c89 Update appimage.yml
Renamed to match others
2022-11-16 19:43:52 +01:00
Beep6581
7635ac06f3 Update windows.yml 2022-11-16 19:42:12 +01:00
Beep6581
ecb09ef13e Update main.yml 2022-11-16 19:42:01 +01:00
Beep6581
32cc60a658 Update appimage.yml 2022-11-16 19:41:46 +01:00
Morgan Hardwood
331b3af0e4 Bump release date to now, again 2022-11-16 13:56:50 +01:00
Morgan Hardwood
5fbdbcc758 Bump release date to now 2022-11-15 14:30:38 +01:00
Morgan Hardwood
d5cb6b230a Merge branch 'dev' into release-5.9 2022-11-15 14:04:21 +01:00
Thanatomanic
11168aa640 Fix black level for Panasonic DC-G90/G95/G99 2022-11-07 09:35:59 +01:00
Pandagrapher
eb40593d60 Merge with 'Beep6581/dev' 2022-11-03 17:10:48 +01:00
Pandagrapher
344f64eab7 Fixes issue loading image cache data
With some versions of Glib/Glibmm library on MacOS, Glib::KeyFile "load_from_file" function does not raise a Glib::Error but another exception. This causes cached data not saved on disk (and thumbnails not displayed in explorer). Adds robustness testing if file is present first before calling the function
2022-11-03 12:43:06 +01:00