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
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
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
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
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
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
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
4223f114cb
Clean up merge
2022-12-03 21:24:17 -08:00
Thanatomanic
badf92ba64
Fix for declared near() function, backport from ART. Various other minor changes.
2020-10-16 13:30:47 +02:00
Thanatomanic
8b4389ade9
Resolve exiv2 merge conflicts and merge with
2020-10-16 11:45:26 +02:00
Flössie
b311b5b6d2
Validate EXIF UTF-8 strings ( fixes #5923 )
2020-10-03 10:18:23 +02:00
Flössie
79278875da
Use snprintf()
instead of sprintf()
( #5907 )
2020-09-15 14:56:57 +02:00
Ingo Weyrich
beb8fd8f74
Merge branch 'dev' into newlocallab2
2020-06-14 22:03:26 +02:00
Ingo Weyrich
41675913d6
Cleanups and also some speedups for RT 5.9, to be continued
2020-05-31 17:27:44 +02:00
Desmis
e573de78b4
merge with dev
2020-03-19 13:40:11 +01:00
Flössie
1069c890f5
Incorporate FreeBSD fix from @mandree ( #5651 ) plus a little hardening
2020-02-14 11:44:57 +01:00
Ingo Weyrich
033d9fe02a
Merge branch 'dev' into newlocallab
2019-11-04 23:01:33 +01:00
Ingo Weyrich
d731e172c2
Further reduction of include dependencies
2019-11-01 16:15:59 +01:00
Ingo Weyrich
cac2eb53ef
Further reduction of include dependencies
2019-10-31 20:41:08 +01:00
Flössie
d7ec033829
Reduce dcp.h
dependencies
2019-10-30 09:30:21 +01:00
Flössie
28f0bc14da
Merge branch 'dev' into metadata-exiv2
...
- Rating (#5325 ) not yet implemented
2019-09-24 14:30:54 +02:00
Desmis
0711373021
Merge with dev
2019-09-11 08:35:25 +02:00
Morgan Hardwood
60b2196bce
Updated gnu.org links to use HTTPS
2019-09-10 12:34:57 +02:00
Ingo Weyrich
b3e0013e56
Merge branch 'dev' into newlocallab
2019-08-08 16:18:58 +02:00
Ingo Weyrich
4101102ddf
cppcheck: further fixes
2019-07-31 20:02:35 +02:00
Desmis
cbeb828609
merge with dev
2019-07-18 13:41:26 +02:00
Eric Jiang
789edc5bd3
Apply code-cleanup patch from @Floessie
...
See https://github.com/Beep6581/RawTherapee/pull/5325
2019-06-18 13:02:10 -07:00
Flössie
fa63b2f7a6
Fix EXV_UNICODE_PATH std::wstring
conversion
2019-05-23 15:34:06 +02:00
Eric Jiang
a25655cafd
Check that metadata rating is between 0 and 5
...
Does not handle Rating=-1 meaning Rejected yet.
2019-05-18 15:22:09 -07:00
Eric Jiang
820024972a
Use rating from EXIF/XMP where available
2019-05-18 15:22:00 -07:00
lewiatan
105517c561
support rating tag from EXIF/XMP
2019-05-16 17:04:07 -07:00
Flössie
ba4de904cc
Cleanups and a few fixes
2019-05-10 21:24:22 +02:00
Alberto Griggio
c360fd7e2c
Use exiv2 for metadata handling
2019-05-06 09:27:44 +02:00
Desmis
a23c9073b5
merge with dev
2019-04-02 10:56:34 +02:00
Morgan Hardwood
e23fc17ccf
Search for DateTimeOriginal if not found in standard location
...
The DateTimeOriginal and DateTimeDigitized Exif tags should be in the
same group - ExifIFD, but the Leica M8 stores DateTimeOriginal in the
IFD0 group. This patch by Flössie allows to find the tag.
Closes #5251
2019-03-29 09:21:47 +01:00
heckflosse
020204e0cb
Merge branch 'dev' into newlocallab
2019-03-12 14:57:17 +01:00
Flössie
86690f1ca0
Fix OOB string access ( fixes #5207 )
2019-03-11 21:09:57 +01:00
Floessie
17bec0a2e5
Merge pull request #5197 from Beep6581/relax-procparam-dependency
...
Relax dependency from `procparams.h`
2019-03-11 15:14:00 +01:00
Desmis
040e900c02
merge with dev
2019-03-11 10:08:54 +01:00
Flössie
c2405585cf
Work around strange side effects when parsing Exif ( #5207 )
2019-03-10 14:56:36 +01:00
Flössie
9fe6bcaab1
Merge branch 'dev' into relax-procparam-dependency
2019-03-10 12:54:04 +01:00
Flössie
d89364fcc0
Fix Exif parsing for old Canons (ported by @Beep6581, fixes #4843 )
2019-03-10 11:40:05 +01:00