Commit Graph

103 Commits

Author SHA1 Message Date
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
Morgan Hardwood
2c9dc32022 Show more meaningful lens make/model #5157
If the lens make/model from the MakerNotes is vague, and if a lens make
and model are set in Exif (LensMake, LensModel), then prefer Exif over
vague.
2019-03-09 16:17:44 +01:00
Desmis
43bf1f6cd9 merge with dev 2019-03-08 16:22:52 +01:00
Flössie
ca3f84e94f Lens name improvements for Pentax by @Manuel-K (#5157) 2019-03-07 20:29:07 +01:00
Flössie
70475f781a Derive lens name from 0xA434 and 0xA433 if other means fail (#5157)
Implemented for
- Pentax
- Canon
- "Unknown"

Also constified `toString()` methods in `rtexif`.
2019-03-07 19:29:11 +01:00
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +01:00
Desmis
22323852a9 merge with dev 2019-02-21 10:37:15 +01:00
Flössie
e39726dbf7 Return first frame in FramesData on OOB access (#4830) 2019-02-20 20:55:07 +01:00
U-PC-BUREAU\jacques
333ac99532 merge with dev 2018-11-11 10:02:38 +01:00