Commit Graph

11921 Commits

Author SHA1 Message Date
Lawrence Lee
376d680b16 Add basic camconst entry for Canon EOS R8
The camera seems to have the same characteristics as the Canon EOS R6m2.
The raw crops for the R6m2 are derived from standard and CRAW images for
full-frame and 1.6 crop. The raw crops for the R8 are from standard and
CRAW images for full-frame only, but for both standard and Dual Pixel.
The Dual Pixel R8 images require 10 pixels cropped from the right side
instead of 6. Thus, the full-frame crop needs adjustment.
2023-06-04 16:32:41 -07:00
Lawrence Lee
362564c60f Automatically detect DLLs for Windows packages
Use ldd to find dependencies in /mingw64/bin.
2023-05-29 17:14:44 -07:00
Lawrence Lee
24f0bff0ab Fix L*a*b* curves histogram and pipette scaling
Use correct horizontal scale for chroma histogram.
Fix pipette values for chroma, a*, and b*.
2023-05-29 15:49:58 -07:00
Lawrence Lee
8accebe416 Fix incorrect sampled L*a*b* values
Use LCMS to convert values back into L*a*b*. The pipette buffer has the
output or working profile applied with LCMS. Performing the inverse
operation fixes the incorrect values shown in the navigator, histogram
indicator bars, and lockable color pickers.
2023-05-28 18:15:27 -07:00
Lawrence37
6a11c59b79 Merge pull request #6758 from Lawrence37/sony-zv-1-camconst
Sony ZV-1 color matrix and black level
2023-05-27 15:24:25 -07:00
Lawrence37
77853893a9 Merge pull request #6739 from SimonSegerblomRex/fix-6682
dcraw.cc: Fix bug for tiff_ifd.new_sub_file_type
2023-05-27 15:23:02 -07:00
Shiho Midorikawa
fcbe2182fd Remove return value from ExifManager::createJPEGMarker 2023-05-25 03:13:07 +09:00
Hubert Figuière
a1bbc93538 Fix missing explicit include (#6704)
* Fix missing explicit include

- Also avoid rtgui include

* Fix more missing explicit include
2023-05-21 15:25:42 -07:00
Lawrence Lee
c557b320c2 Refresh cached image data if sidecar is changed 2023-05-14 18:18:27 -07:00
Lawrence Lee
68ae17a640 Add PDAF pattern for Sony ZV-1 2023-05-14 12:14:33 -07:00
Lawrence Lee
572a75f02a Fix lens model reading for Sony ILMEs and ZV-E10
Use lens model from the EXIF group for these cameras.
2023-05-14 11:06:23 -07:00
Lawrence Lee
bcf9b86dcf Add Sony ZV-1 color matrix and black level 2023-05-13 17:36:22 -07:00
Lawrence Lee
0ac49e4d9a Support Exiv2 >= v0.28.0
The various Datum classes no longer have the toLong method and must be
replaced with toInt64.
ErrorCode is an enum class instead of an enum.
Error classes are reduced to Exiv2::Error.
2023-05-13 16:43:47 -07:00
Lawrence37
e4690e73a3 Add missing build dependency for AppImage 2023-05-12 23:14:58 -07:00
Lawrence Lee
81a3ba558e Update Exiv2 to v0.28.0 for AppImage 2023-05-12 22:50:53 -07:00
Lawrence Lee
8c98925f3d Get lens name from EXIF group for ILCE/NEX cameras
Fix incorrect lens name read in certain cases from Sony cameras (see
https://discuss.pixls.us/t/call-for-testing-rawtherapee-metadata-handling-with-exiv2-includes-cr3-support/36240/87).
2023-05-12 22:44:04 -07:00
Lawrence Lee
45a3b36b3a Fix file chooser entry not updating
Save file name while it is typed in the text entry.

Add placeholder text for Lensfun database directory to indicate
automatic detection if left blank.
2023-04-30 12:30:46 -07:00
Lawrence Lee
f5dba61243 Allow Lensfun DB dir editing from preferences
Also refactor the file chooser button widget to share code with the file
chooser entry. Use our own folder icon instead of the system one.
2023-04-29 18:43:38 -07:00
Lawrence37
677aaf2ec7 Merge pull request #6753 from Lawrence37/eos-r6m2-raw-crop
Canon EOS R6 Mark II raw crop
2023-04-29 14:18:47 -07:00
Lawrence37
484b584e68 Merge pull request #6751 from Lawrence37/fuji-sports-finder
Fix crash with Fujifilm sports finder mode
2023-04-29 14:17:21 -07:00
Lawrence Lee
25082b6fc0 Add Canon EOS R6 Mark II color matrix 2023-04-28 21:56:27 -07:00
Lawrence Lee
91a07a2ac5 Add raw crop for Canon EOS R6 Mark II 2023-04-27 21:11:58 -07:00
Lawrence Lee
61b05f8504 Fix crash with Fujifilm sports finder mode
Handle heights and widths larger than raw heights and widths. Add
camconst raw crop for certain Fujifilm cameras with sports finder mode
on.
2023-04-22 21:32:08 -07:00
Lawrence Lee
1f8e2aaf55 Merge branch 'dev' into metadata-exiv2 2023-04-19 21:14:54 -07:00
Lawrence37
3d67ca450f Merge pull request #6744 from Lawrence37/external-editor-compatibility
External editor: native commands
2023-04-19 21:10:18 -07:00
Simon Segerblom Rex
3ea40d893e dcraw.cc: Fix bug for tiff_ifd.new_sub_file_type
This was regressed by bd118a4a40.
2023-04-16 08:02:46 +02:00
Lawrence Lee
1eb58255ce Merge branch 'dev' into tone-equalizer 2023-04-15 16:58:52 -07:00
Lawrence Lee
9893e02aab Move tone equalizer after exposure
Place it between the shadows curve (black and shadow compression) and
DCP tone curve and look table. Moving it after exposure makes it
possible to easily adjust the exposure to the ball-park range before
applying the tone equalizer. Keeping it before the tone curves allows it
to affect the image before clipping occurs.
2023-04-15 16:53:58 -07:00
Lawrence Lee
c4245b5106 Merge branch 'dev' into metadata-exiv2 2023-04-09 17:10:54 -07:00
Lawrence Lee
ab79a4fc3e Refine lens name reading for Nikon Z and Sony
Fall back to other EXIF tags in case Exiv2 cannot interpret the lens ID.
2023-04-09 17:08:54 -07:00
Lawrence Lee
186995acf4 Improve code quality for external editor settings 2023-04-09 13:52:09 -07:00
Lawrence Lee
19f12f3182 Allow native commands as external editors
If an editor is marked as a native command, it is launched using the
older method (native for Windows or Glib otherwise). Non-native commands
are launched with Gio. When reading preferences containing the old style
external editor settings, all commands are marked as native to avoid
breaking them.

Fix bug where the send to editor button shows the wrong editor. The bug
happens when the other editor option is selected while the user edits
the external editors in preferences. When saved, the button shows the
first option is selected instead of the other editor option (the last
entry).
2023-04-08 18:16:23 -07:00
Hubert Figuière
7a48aff7ee Issue #6735 - Remove memory leak when processing Fuji RAF converted to DNG 2023-04-07 21:52:08 -04:00
Lawrence37
dc1c667790 Merge pull request #6737 from Beep6581/ubuntu-20_04-runner
Ubuntu 20.04 runner for AppImage workflow
2023-04-05 21:12:51 -07:00
Lawrence37
1dbd9818cf Set AppImage runner to Ubuntu 20.04
Ubuntu 18.04 is no longer available in GitHub Actions.
2023-04-03 20:16:39 -07:00
Lawrence37
f018d1fec0 Merge pull request #6536 from Bezierr/ha-profilepath-dev
Relative pathnames to .dcp and .lcp files in .pp3 for interchangeability between Windows and Linux
2023-04-03 18:38:58 -07:00
Lawrence Lee
0bbcea8806 Fix Nikon Z series lens identification 2023-04-02 23:43:10 -07:00
Lawrence Lee
30025d2ac2 Get Sony image lens from Sony lens ID tag 2023-04-02 17:22:10 -07:00
Lawrence Lee
533a05cd9d Get lens name from Nikon Z series images 2023-04-02 16:59:24 -07:00
Lawrence37
2a8e9b226e Merge pull request #6728 from Beep6581/masked-areas-fix
Fix color-cast due to wrong masked area calculation
2023-04-02 15:35:49 -07:00
Bezierr
1abbfceb8e Name added to AUTHORS.txt
As suggested by Lawrence37
2023-03-27 13:23:21 +02:00
Lawrence Lee
294c6167ae Add missing DLL to Windows build
Exiv2 and dependent libraries were missing.
2023-03-26 18:43:50 -07:00
Alberto Griggio
ae4de4701f Fix color-cast regression
Fix checking of existence of second masked area.

Issue #6720.
2023-03-26 16:36:06 -07:00
Lawrence37
351c9d8212 Merge pull request #6727 from Beep6581/windows-adwaita
Fix Windows workflow Adwaita error
2023-03-25 13:51:39 -07:00
Lawrence Lee
223b136082 Fix Windows workflow Adwaita error
Update paths to match those of the Adwaita icon theme library.
2023-03-25 12:11:19 -07:00
Lawrence Lee
da1c258057 Enable publishing of metadata-exiv2 builds 2023-03-22 23:03:46 -07:00
Lawrence Lee
0729deec4b Merge branch 'dev' into metadata-exiv2 2023-03-22 23:01:40 -07:00
Lawrence37
f84d67f524 Merge pull request #6723 from Lawrence37/pre-dev-releases
Publish pre-dev builds with workflows
2023-03-22 21:11:46 -07:00
Lawrence Lee
cfabedc4e9 Add pre-dev publishing to Actions workflows 2023-03-21 21:56:02 -07:00
Hubert Figuière
6d32053498 Issue #6721 - Fix memory leak in Crop
- Crop::freeAll() didn't free the memory
2023-03-20 17:22:53 -04:00