Commit Graph

12557 Commits

Author SHA1 Message Date
Scott Gilbertson
0127b68bdb Minor comment clarification 2024-01-07 11:14:52 -05:00
Scott Gilbertson
df41028468 On Windows, use backslashes in template-generated paths
(but continue to accept either / or \ in input strings, on any platform)
Also deleted an unused helper function.
2024-01-07 11:10:05 -05:00
Scott Gilbertson
6df930b639 Minor tooltip change: shorter explanation of %f location template specifier 2024-01-07 11:09:24 -05:00
Scott Gilbertson
f92e07e5cf Make destination path preview label selectable, so its contents can be copied to the clipboard 2024-01-07 10:52:01 -05:00
Scott Gilbertson
d9511d9af8 Update QUEUE_LOCATION_TEMPLATE_TOOLTIP text to describe new specifiers
Describe %dN, %d-N, %pN, %p-N, %PN, %P-N and %f specifiers
Add examples using the new P specifier and -N terms
2024-01-07 10:42:44 -05:00
Scott Gilbertson
5accf1e9db Add myself to the list of authors 2024-01-07 10:31:05 -05:00
Scott Gilbertson
0f66d43272 Update destination preview whenever the save format changes. 2024-01-07 10:09:45 -05:00
Lawrence Lee
d13badbbe0 Implement DNG bad pixels constant for LibRaw
Works if the FixBadPixelsConstant is zero, as implemented for dcraw.
Other constant values may be implemented in the future.
2024-01-06 21:40:00 -08:00
Lawrence Lee
d96809ecab Copy missing camera constants from dcraw to LibRaw
Update white level for Fujifilm HS20EXR/HS22EXR and add constants for
Panasonic DMC-TZ82.
2024-01-06 21:40:00 -08:00
Lawrence Lee
ab21f77b95 Implement Sony Pixel Shift for LibRaw 2024-01-06 21:39:59 -08:00
Scott Gilbertson
21c53823ee Reimplemented %p template specifier to use new method, added %P specifier
The %P specifier includes directories from the start of the file path,
whereas the original %p specifier includes them from the end. In both
cases N is from the last directory in the path, and -N is from the
first directory in the path (N=1..9).
2024-01-06 18:21:59 -05:00
Scott Gilbertson
b8d3f90ca0 Reimplement template %dN specifier, making %d-N count from start of path, not end
Also made %pN selectively skip the next character only if it's a slash or backslash,
so for example %p2/a, %p2\a and %p2a produce the same result.
2024-01-06 18:01:56 -05:00
Scott Gilbertson
587e0c6782 Simplified BatchQueue::updateDestinationPathPreview after noticing that calcAutoFileNameBase handles all cases 2024-01-06 16:32:14 -05:00
Scott Gilbertson
380d964077 Add destination path preview label to batch queue panel.
Label initially says "Destination path for the first selected image appears here"
so the feature is discoverable. Select a file and it shows the destination path
that would be used if it is the first file to be processed and the file does
not already exist. Label is updated as the template is edited, so you can see the
effect of the edits. If "Save to folder" is selected, the previewed path uses
that folder.
2024-01-06 16:00:19 -05:00
Lawrence Lee
88f9978e1f Merge commit 'de5f92937857cccc45080c59c6236561416e5ece' into libraw-copylib
Upgrade LibRaw to 0.21.2.
2023-12-31 14:05:48 -08:00
Lawrence Lee
de5f929378 Squashed 'rtengine/libraw/' changes from cccb97647..1ef70158d
1ef70158d 0.21.2 release
62f042366 tag type => tag size mapping fixed
ee087e3fe cubic_spline: better handling of non-integer data
af755b991 extra metadata check in arq_load_raw
0fadd8819 Better incorrect data handling in cubic_spline
d7fb66053 skip invalid pattern in xtrans_interpolate
d059ed280 Check HL recovery coeffs before processing
104730519 limit wavelet denoise minimum size
cae09838e raw-identify: use fallback if PATH_MAX not available
d6c677608 additional check against corrupted ljpeg layout
1001a6ac1 Disable color conversion for Canon 16-bit thumbnails
a5130b01b docs/changelog: explained the case when no thumbnail is found in specific file
600c0c63d rename swapXX to libraw_swapXX to avoid name conflict
299c8a11b Check against corrupted LJPEG header in Canon sRAW decoder
ec8671ad9 Limit embedded color profile allocation/read size
5229d5942 Wrong alloc result check for 16-bit bitmap thumbnail
b278b775f check pana_data/buffer offset before use
7f4b8d3af Check P1 quadrant linearization coeff[15] against zero
e942a7db6 avoid integer overflow in buffer space check
f6a57cfb8 prevent buffer overrun in buffer_datastream::scanf_one
3e62ed304 ensure correct T.tlength for 16b bitmap thumbnails(2)
8e52d81cd ensure correct T.tlength for 16b bitmap thumbnails
8e1af15e2 Do not run sraw decoder on (crafted) bayer files
0ace959c2 better striped thumbnails handling
477e0719f do not set shrink flag for 3/4 component images
c8efae6c5 allow more decoders for fuji-rotated RAWs

git-subtree-dir: rtengine/libraw
git-subtree-split: 1ef70158d7fde1ced6aaddb0b9443c32a7121d3d
2023-12-31 12:52:34 -08:00
Lawrence Lee
ebf5b422be Use proper include for LibRaw
The include directory for LibRaw is properly set by CMake so
    `#include <libraw/libraw.h>`
will work for both the internal and system versions.
2023-12-31 12:33:01 -08:00
Lawrence Lee
e599f71bf2 Remove unused rawimage functions
Prevent accidental use of these functions that will not supply the
correct data when using LibRaw.
2023-12-31 12:03:16 -08:00
Lawrence Lee
dca44bb89a Fix crash loading multi-frame RAFs with LibRaw
Set the frame number when reading image metadata.
2023-12-31 12:00:45 -08:00
Lawrence37
255a0c7086 Merge pull request #6906 from Lawrence37/fix-odd-raw-crop-raw-ca
Fix for wrong colors when the demosaic border is odd (dev)
2023-12-23 11:18:31 -08:00
Lawrence37
d0e36ee509 Merge pull request #6904 from Lawrence37/fix-odd-raw-crop-raw-ca
Fix for wrong colors when the demosaic border is odd
2023-12-23 11:14:37 -08:00
Lawrence37
85746a8093 Fix bad colors when demosaic border is odd
Colors are incorrect if the demosaic border is odd and raw chromatic
aberration is enabled.
2023-12-21 22:09:32 -08:00
Alexander Brock
1286fbacd6 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-12-18 17:44:24 +01:00
Lawrence Lee
2b7889b645 Add option to disable LibRaw in preferences 2023-12-17 16:00:30 -08:00
Lawrence Lee
f296991419 Implement DNG gain map for LibRaw 2023-12-17 16:00:30 -08:00
Desmis
31bf942d92 Local adjustments - Show additional settings - link with complexity (#6899)
* Change hishow -additional seeting - with complexity

* Modify windows.yml and appimage.yml

* Fixed bug in duplicate spot

* Remove pre-dev builds
2023-12-17 08:37:20 +01:00
Lawrence37
1839db448d Merge pull request #6793 from Lawrence37/nr-gain
Option for disabling noise reduction gain
2023-12-16 11:11:24 -08:00
Lawrence Lee
badbb9fbe2 Add checkbox for disabling NR gain
Option to disable noise reduction automatic gain for consistency between
photographs.
Fix automatic gain not being recalculated after changing the white level
correction.
2023-12-16 11:10:11 -08:00
Lawrence37
91bf250201 Merge pull request #6853 from Beep6581/cherry-pick-5.10
Cherry-picked fixes for 5.10
2023-12-13 12:54:17 -08:00
Desmis
886c7f5498 LA exposure hide show sliders when expcomp different from zero (#6892) 2023-12-12 22:15:11 -08:00
Lawrence Lee
7c619f87bc Fix WB method reset when not using English
Use the GUI label for "Camera" instead of hard-coding it.
2023-12-12 22:15:10 -08:00
U-PCSPECIALIST01\jdesm
339fdd9f04 Ftblockdn - remove unwanted messages in console 2023-12-12 22:15:09 -08:00
Desmis
f6aa9b86cb White Balance - temperature correlation in batch mode - issue #6867 (#6877)
* Change Itcwb in simpleprocess

* Change for auto RGBgrey

* remove unnecessary code
2023-12-12 22:15:08 -08:00
Lawrence Lee
d5ba3cf232 Fix crash in noise reduction
Fix upper bound for array access while building histogram of absolute
values in mean absolute deviation (MAD) calculation.

Fixes #6871.
2023-12-12 22:15:07 -08:00
Morgan Hardwood
1f9b21cbc0 Removed gzip from windows.yml workflow #6864
gzip is now included as part of the MSYS2 base install.
2023-12-12 22:15:06 -08:00
Miloš Komarčević
2b98bfb605 Streamline Windows build action
Use pacboy for msystem independent install
Use build directory directly from CMake
Remove lensfun patch (included upstream)
2023-12-12 22:15:05 -08:00
Lawrence Lee
01e8af8c89 Fix color toning layers being hidden
Request resizing of tool widgets after being attached to the tool panel.
2023-12-12 22:15:04 -08:00
U-PCSPECIALIST01\jdesm
ad4bd7dee5 Auto white balance - change label and tooltip 2023-12-12 22:14:57 -08:00
Beep6581
bdb5a72400 Merge pull request #6895 from Christian-Kr/dev
Exclude cmake-build directory from git.
2023-12-10 23:01:25 +01:00
Beep6581
ea3d620f9f Merge pull request #6891 from marter001/german-translation-5-10
update german translations for release 5.10 and fix typos on default
2023-12-10 22:52:57 +01:00
Christian Kr
92b3c46ba3 Exclude cmake-build directory from git. 2023-12-04 13:09:14 +01:00
Lawrence Lee
17d6759140 Enable debug build for AppImage 2023-12-02 12:21:53 -08:00
Lawrence Lee
478e04e307 Remove pre-dev publish branches 2023-12-02 12:00:47 -08:00
Desmis
32aca270ec LA exposure hide show sliders when expcomp different from zero (#6892) 2023-12-02 08:24:42 +01:00
Lawrence Lee
20d3311931 Add decoding through LibRaw
Decode raw files with LibRaw and fall back to dcraw if LibRaw is unable
to read the file.
2023-12-01 21:15:13 -08:00
Lawrence Lee
330f99832e Fix WB method reset when not using English
Use the GUI label for "Camera" instead of hard-coding it.
2023-11-26 16:25:06 -08:00
Martin
0d714c6ea4 revert changes to default file 2023-11-21 21:42:45 +01:00
Martin
0695e2ccc5 fix typos 2023-11-21 21:39:13 +01:00
Martin
eedf9ab269 update german translations
German translations for release 5.10
2023-11-21 21:36:09 +01:00
Lawrence Lee
a95a58a8a3 Fix sRGB working profile crash
The sRGB working profile cannot be found under some conditions because
the profile name is stored as a Glib::ustring and the same strings may
not be equal when using different locales. Use std::string whenever
comparing profile names.
2023-11-19 17:22:43 -08:00