12590 Commits

Author SHA1 Message Date
Lawrence Lee
b1e749e2ec
Update links to the repository
Change from github.com/Beep6581/RawTherapee to
github.com/RawTherapee/RawTherapee.
2025-03-23 16:57:51 -07:00
Lawrence Lee
2976b6f69b
Update dependencies for AppImage workflow
Upgrade the runner from Ubuntu 20.04 to 22.04.

Upgrade exiv2 from v0.28.3 to v0.28.5.

Upgrade libjxl from 0.10.3 to 0.11.1.

Use the system librsvg2.
2025-03-23 16:14:52 -07:00
Lawrence Lee
5117b26c67
Merge commit '16e502f1c50c8c0e10a5e014691e1c812a518c57' into libraw-snapshot-202502
Upgrade LibRaw to snapshot 202502.
2025-03-23 15:06:05 -07:00
Lawrence Lee
16e502f1c5 Squashed 'rtengine/libraw/' changes from 12b0e5d60..8afe44cd0
8afe44cd0 Snapshot 202502
29d9785c2 Do not apply canon metadata crop to DNG files
015b27fff Changelog updated
d1a27c26e Merge branch 'master' of git.lexa.ru:LibRaw
ca1368d8e check split_col/split_row values in phase_one_correct
fb23332a9 UINT32=>unsigned as defined in structure declaration
354bc2907 Revert "build: add handling of openmp library"
797ac1934 Merge pull request #680 from ssssota/remove-duplicated-camera
52421b19e fix: remove duplicated supported camera
ca57a1103 Merge pull request #679 from dlemstra/fix-profile-length
25bb86fe7 Merge pull request #678 from clan/openmp
591239482 Changelog updated
42fce9f8e Make sure the profile_length is the same size as the allocated memory.
f767a2fbe prevent OOB reads in phase_one_correct
638154a5b build: add handling of openmp library
bdd9e3436 Prevent out-of-bounds read in fuji 0xf00c tag parser
59cfa8b8a Prevent out-of-bounds read in fuji 0xf00c tag parser
3240fb21f Merge pull request #677 from ssssota/windows-makefile-invalid-indent
416912f43 build: fix indentation (8 spaces -> tab)
bf7a0346d Merge pull request #676 from lance5/master
6a0ef2483 [fix] use LIBRAW_OWN_SWAB control swab
816ab359b [feature] support android NDK 21
cc118c1c1 H265 and JPEG-XL thumbnails support for dcraw_make_mem_thumb
9bcb8a1d9 LIBRAW_CALLOC_RAWSTORE; replace for w/ memmove in dng_sdk glue
bf1a9140e panasonic decoder: limit load_flags to 0x4000
77a46b319 panasonic loader: zero buf to avoid uninitalized data leak
4f5a4cfb3 null-terminate xmp block
f9bb7d126 small allocations: replace malloc with calloc
70f511871 define NOMINMAX before including winsock2 in public header file => do not provide min/max maco
3772d1be2 Merge pull request #661 from nekopsykose/end
f2d1070f7 fix endian detection for ppc64le
47c7a2394 Ignore vendor crops for Fuji S6000/6500
17f16837e Prevent Sony-LJPEG decoder buffer overrun
9c9c04b44 Ensure SR2 block is fully read from file
d3cbbd0e9 4-component DNG-JPEG support
891630152 additional check for imgdata.color.WB_Coeffs index range
54c6af90b prevent possible imgdata.color.WBCT_Coeffs overrun
158e635e5 X100V color updated w/ actual data; X-T4 and X-Pro3 typo fixed
393dc925d Fuji X-T3x colormatrix: fixed typo
66a81c333 removed extra Pentax KP colordata
6475fd04b pass all images with wrong bayer filter data to vng_interpolate
fe2a7e2b7 Refuse images with colors==2
c2e8a908d additional offset checks in Sony metadata parser
c9facb4b7 Clean wrong aber values; allocate extra data to image to avoid overrun on specially crafted test images
83bf3ad5e Merge pull request #640 from Calandracas606/fix-clback-docs
c294e7075 fix the docs to properly reflect the size of cblack[LIBRAW_CBLACK_SIZE]
072eeaeb4 fixed integer overflow in largest frame selection code
e58e8e43a additional checked_buffer_t offset checks
73d6daa05 Check for negatife offset checked_buffer_t
0d011198b Oops. Forgot to increase version
a625a7d53 Merge pull request #633 from thesamesam/openmp
b396d92d8 README.md: removed unprintable symbols
9893eb825 README.md: update policy actualized to match libraw.org site
54fbe8f47 libraw_adjust_to_raw_inset_crop
2f75ef793 m4: update ax_openmp.m4 from autoconf-archive (8->14)

git-subtree-dir: rtengine/libraw
git-subtree-split: 8afe44cd0e96611ba3cb73779b83ad05e945634c
2025-03-23 15:05:07 -07:00
Lawrence Lee
afb8f0f1f7
Preparing for release 5.12-rc1 2025-03-23 12:59:58 -07:00
Lawrence37
5f7cea0bcb
Merge pull request #7330 from Lawrence37/minolta-rd175-libraw-fix
Minolta RD175 LibRaw white level fix
2025-03-23 12:34:41 -07:00
Lawrence37
f619000e92
Merge pull request #7326 from Lawrence37/canon-eos-r8-dcp
Canon EOS R8 DCP
2025-03-23 12:33:24 -07:00
Lawrence37
8806a6a11a
Merge pull request #7332 from Lawrence37/translation-diffs-5.12
Translation diffs for 5.12
2025-03-22 14:24:51 -07:00
Lawrence Lee
021d559da2
Run generateTranslationDiffs 2025-03-17 23:02:20 -07:00
Lawrence37
5b81ac1ad6
Merge pull request #7325 from Lawrence37/partial-profile-extra-params-fix
Fix for unwanted partial profile parameters
2025-03-10 23:36:33 -07:00
Lawrence Lee
5d458a2c91
Add DCP for Canon EOS R8
Created from color target shots provided in
https://github.com/RawTherapee/RawTherapee/issues/7300. This profile
does not contain a tone curve nor a look table to reduce the file size.
See https://github.com/RawTherapee/RawTherapee/issues/6467 for an
explanation.
2025-03-09 23:23:36 -07:00
Lawrence Lee
6be56f2145
Allow LibRaw to get white level while loading data
The function for loading the image data from Minolta RD175 raw images
sets the white level. Make use of this white level.
2025-03-09 23:10:09 -07:00
Lawrence37
484e8b57b8
Merge pull request #7322 from Bezierr/ha-denoiseLcurve-dev-public
Fixes issue #7282
2025-03-09 12:18:44 -07:00
Lawrence37
4dd662d730
Merge pull request #7317 from Lawrence37/japanese-crash-workaround
Japanese on Windows crash fix
2025-03-09 12:16:53 -07:00
Lawrence37
ba90c45f6b
Merge pull request #7327 from RawTherapee/artifact-publish-repo
Pre-dev publishing fix
2025-03-04 19:25:42 -08:00
Lawrence Lee
d1b0a3e4ec
Update repository owner in GitHub workflows 2025-03-02 22:55:17 -08:00
Lawrence Lee
f0affbfdcd
Fix partial profile parameter selection
Add Gamut Compression parameters and group raw de-haze into raw black
levels.
2025-03-02 16:26:12 -08:00
U-PCSPECIALIST01\jdesm
8439f3ce34 Change appimage and windows yml 2025-03-02 07:57:19 +01:00
Desmis
69b311b5b4
Selective Editing - Avoid negatives values - see on Pixls.us (#7319)
* Avoid negatives values input SE with CBDL Dehaze and SE Settings

* Change appimage and windows yml with Rawtherapee:avoidneg

* Change Rawtherapee by Beep6581 for yml windows

* Change Rawtherapee by Beep6581 in Appimage yml

* Limits negatives values control to cbdl before

* Changes suggested by Lawrence37

* Change in code, labels and history Avoid zero and negative values to Pre-filter zero and negative values
2025-03-02 07:43:18 +01:00
Bezierr
00cf00126c Merge branch 'ha-denoiseLcurve-dev' into ha-denoiseLcurve-dev-public 2025-02-28 16:57:40 +01:00
Bezierr
74ee9df324 Fixes issue #7282
Fixes issue #7282 "Noise Reduction Luminance Curve changed when using Batch Edit"
2025-02-28 16:39:29 +01:00
Lawrence37
f8e7db3d86
Merge pull request #7276 from digitalcarp/cleanup-framing
Clean up framing compiler warnings
2025-02-26 22:22:45 -08:00
Lawrence37
b13ddbf5e4
Merge pull request #7305 from Lawrence37/dir-browser-perf
Directory browser performance improvement
2025-02-26 22:18:56 -08:00
Lawrence37
c0ba1bf584
Merge pull request #7299 from Lawrence37/fujifilm-electronic-shutter-raw-crop
Fujifilm electronic shutter raw crop for dcraw
2025-02-26 22:18:34 -08:00
Lawrence37
6d41f20587
Lensfun automatic detection speedup (#7318)
* Speed up LensFun automatic detection

Replace use of std::regex with manual string manipulation.
std::regex is slow for some locales, such as for Chinese or Japanese.

* Fix typo in comment
2025-02-26 22:17:31 -08:00
Lawrence Lee
bc7d636620
Fix crash when using Japanese on Windows
Work around possible GLib bug in string comparison.
2025-02-22 15:00:23 -08:00
Desmis
61004ef5da
Selective Editing - Enable global for sharpening and contrast by detail levels issue 7312 (#7313)
* Enable fullim global for sharpening cbdl

* Enable fullim global retinex

* Improve Global mode for cbdl

* Improve chroma mode
2025-02-21 08:25:15 +01:00
Lawrence37
c33b82edd7
Merge pull request #7307 from kaesa/dev
Fix DCPProfile constructor not respecting the verbose setting
2025-02-16 18:12:19 -08:00
Lawrence37
9315970fb5
Merge pull request #7306 from RawTherapee/chinese-ciecam
Chinese (Simplified) translation update
2025-02-16 16:46:29 -08:00
kaesa
883ae67a56 Added missing newlines to keep verbose output more readable. 2025-02-13 11:34:22 +02:00
kaesa
5edf870c13 Fix for DCPProfile constructor not respecting verbose on all printf occurrences. 2025-02-13 10:51:19 +02:00
Lawrence37
fe94a34d7d
Merge pull request #7291 from Lawrence37/clear-pp3-bug-fix
Delete pp3 when clearing processing parameters
2025-02-09 12:08:19 -08:00
Lawrence Lee
d005141784
Update Chinese (Simplified) translation
Improves readability and updates CIECAM02/16 translations. Provided by
syyrmb in https://github.com/RawTherapee/RawTherapee/issues/7303.
2025-02-08 19:03:07 -08:00
Lawrence Lee
fbed8c761b
Reduce unnecessary directory browser refreshes
Ignore more file change events that do not have an effect on what should
be displayed by the directory browser.
2025-02-08 16:43:50 -08:00
Lawrence Lee
9d808477eb
Fix Fujifilm electronic shutter dcraw crop
Applies to the X-T3, X-T4, X100V, X-S10, X-T30, and X-Pro3.
2025-02-01 21:51:08 -08:00
Lawrence37
e64af75212
Merge pull request #7298 from Lawrence37/workflow-permissions
Fix for macOS ARM build
2025-02-01 16:01:45 -08:00
Lawrence Lee
a57cbcfdb4
Fix macOS ARM build
Add permission to upload artifacts to release tags.
2025-02-01 15:27:30 -08:00
Lawrence37
cd3b2c31e8
Merge pull request #7296 from Lawrence37/workflow-permissions
Fix for artifact uploading from GitHub Actions
2025-02-01 14:29:01 -08:00
Lawrence Lee
7ad0c95594
Fix workflow ability to upload artifacts
Add content write permission to AppImage, macOS, and Windows workflows.
2025-02-01 12:38:50 -08:00
Lawrence37
fa4d0e1f24
Merge pull request #7265 from Lawrence37/info-font-size
Quick info font size
2025-02-01 11:44:32 -08:00
Lawrence37
831f7bea46
Merge pull request #7281 from Lawrence37/sony-lens-identification
Sony lens identification improvement
2025-02-01 11:43:32 -08:00
Lawrence37
049ff6e6d8
Merge pull request #7274 from RawTherapee/fixbug-blur-2
Fix for Blur/Grain & Denoise in global mode
2025-02-01 11:42:27 -08:00
Lawrence Lee
1885f5d489
Improve proc params clear when XMP sync enabled
Always check the rank and color label in the XMP if XMP sync is enabled
when clearing the processing parameters. Allows the pp3 to be deleted
whenever possible, even if the rank or color label has been edited.
2025-01-20 12:53:07 -08:00
Lawrence Lee
367041e2e6
Fix processing params clear when XMP sync enabled
Fix caching of XMP when clearing processing parameters so that it knows
if the pp3 can be deleted without affecting the rank and color labels.
2025-01-20 12:49:36 -08:00
U-PCSPECIALIST01\jdesm
1d56072be4
Fixed pb step 1 2025-01-19 15:29:33 -08:00
Lawrence Lee
d3dca005eb
Merge branch 'dev' into clear-pp3-bug-fix 2025-01-19 12:50:55 -08:00
Lawrence37
5041aa2de4
CodeQL workflow fix (#7290)
The ubuntu-latest runner is now using Ubuntu 24.04. Package libhwy0 has
been renamed to libhwy1t64. Since libhwy-dev is required and dev
packages depend on the runtime library, libhwy1t64 does not need to be
explicitly installed.

Update libjxl and its dependencies in CodeQL workflow.
2025-01-19 12:47:37 -08:00
Desmis
a578423378
Abstract Profile - Contrast enhancement -- Selective Editing Cam16 and JzCzHz - improvments (#7111)
* Init levels trc GUI

* Levels TRC

* Complete with gamma based attenuation

* Limit RGB channel Slope with checkbox

* Improve GUI and code channel TRC

* Change default values - compexity levels RGB channels

* Relative gamma mode RGB channel TRC

* Change label and ponderation rolloff

* Change rolloff level

* Threshold attenuation

* Threshold attenuation 2 part

* GUI Link R G B

* Linked RGB with Green slope - RGB channels

* Set Freeman TM functions with ImProcFunctions

* First GUI Abstract profile highlight attenuation

* GUI AP part 2

* Restore olg GUI AP

* Expander AP primaries adn illuminant

* Disable RGB channel TRC

* Expander contrast AP

* Slider attenuation response

* Save work GUI local contrast

* Save GUI part 2 AP curve

* Local contrast GUI Abstract Profile

* Move Abstract profile in toolpanel and ICMpanel

* rtengine variable contrast

* Variable contrast 2

* Variable contrast engine 3

* Variable contrast engine 4

* Variable contrast engine

* Detail levels pyramid

* Engine residual contrast

* Residual contrast

* Change settings detail levels

* Expander refinement - new tooltips - low resid contrast

* Change contrast profile and labels

* Remove warning message GUI Gtk

* Gamutcontrol code - disabled

* Improve with calceffect

* Other improvement variable contrast

* Offset variable contrast

* Range offset - comment code

* Parametric inva fot lut

* Clean cmakelist.txt

* Change contrast profiles

* Comment code ipwavelet

* Added orthogonal Daubechies scaling D20

* Change strenght curve - tooltip Daubechies

* Forgotten changes

* Comment code

* Move variable in process - take into account highlight attenuation

* Display label maximum preview and preset selection

* Remove console message

* harmonize levels wavelets iplocallab

* Tooltips contrast enhancement

* Change tooltip Contrast profile

* Chnage tooltip Contrast

* Message warning preview size

* Change gamma TRC values in GUI

* Remove itanium architecture support for windows as PR 7105

* Change windows.yml and appimage.yml

* Windows.yml apseimprov

* Clean and comment ipwavelet

* Clean comment icmpanel.cc

* Harmonize local contrast wavelet Selective editing with Abstract profile

* Harmonize with AP - offset

* vanishing moment D20 - Selective editing wavelet

* Offset only in advanced mode

* GUI expander contrast enable and pyrwavtrc

* Clean and comment code

* merge with dev

* Prepare sigmoid based

* Contrast sigmoid GUI

* Skew sigmoid GUI

* Sigmoid tone mapper in iplocallab

* Change GUI settings

* White-point and black-point auto

* Change EvDCP to ALLNORAW as others events DCP

* Change default skew

* Change settings - enable scale Yb

* Display white point - advanced mode

* Improve GUI

* Clean unused variable

* new sigmoid Q in cam16

* Change tooltips and default sigmoid Q settings

* Sigmoid Jz

* Clean code Jz and sigmoid

* Harmonize Sigmoid Q and Sigmoid RGB

* Harmonize Sigmoid Jz

* Clean code

* Improve labels wit cd/m2

* Slope base Q methode first

* GUI slope based Q

* Change default settings and tooltips

* Change tooltips

* Clean code - change default setting

* Change default local contrast & wavelet to wavelet & basic mode

* Fixed bad assignation slopesmoq

* Improve sigmoid and slope based Q - GUI for Log encoding Color appearance

* Remove wrong change

* various small improvments

* Allows black and white AP and SDA in basic mode

* Change  the writing of wGamma and wSlope - attenuates the effect of the first 2 AP contrast profiles

* Clean code wgamma wslope

* Set curve Cam16 in basic mode

* Change position curve in GUI cam16

* Enable tonecurve1 in colorappearance & lighting in standard mode

* Fixed bug scale yb scene - ciecam curve - change default contrast enhancement

* not reset curve shape ciecam in strandard

* Change label Tone mapping operators and tooltips

* Change some labels and tooltips - Appearance - Mask and Mofifications - Recovery Based On Luminance Mask

* Forgotten changes

* Clean locallabtools2.cc

* Maxlevel wavelet minimum to 5

* Reset mask and modifications in SE wavelet and all tools in Global

* Show modified areas SE wavelet

* Tooltip show wavelets decomposition

* Fixed another bad behavior in Global - changes also in color & light for merge file

* Change behavior fullimage - global as in PR GHS

* Disable all mask and modifications in Global but remain active in fullimage and normal

* Set expander expanded = true

* Chane contrast enhancement coef

* Replace VBox trcWavVBox by ToolParamBlock trcWavFBox

* Forgotten code in icmpanel read pedited opacityShapeWLI - hope solve batch mode

* Change RGB Slope behavior with link

* No access to last level contrast enhancement

* Move Abstract Profile tooltip to title

The tooltip was popping up when the cursor was over almost any part of
the tool which was inconvenient. Now, the tooltip only appears when
hovering over the title.

* Improve Color Management expanders behavior

By default, collapse Abstract Profile and leave it's sub-expanders
expanded.

Keep the expanded state of all the sub-expanders during the editing
session.

Fix the right-click behavior. The clicked expander should be expanded
and all siblings, if any, should be collapsed.

* Fix RGB slope tone mapping RGB linkage

Synchronize the red, green, and blue values before updating the preview
to avoid using incorrect values to generate the preview.

* Fix SE CAM tone mapping slider defocus

Avoid unnecessarily hiding then showing the adjusters in tone mapping so
that focus is not lost while adjusting the adjusters.

* Delete history kslopesmo - remove IcmOpacityCurveWL

* change the tooltips as suggested by Lawrence

* Review L37 - change strengthjz strengthlc - MIDDLE_GREY MIDDLE_GREYjz - artifacts ciecam

* Change name Tone map freeman functions

* Remove gamutcont - rename localcont - change allocation memory wdspot

* Clean procparams

* remove sigmoidsenscie - logcieq

* Added * to three labels 'sigmoid' - change tooltip which shows the incompatibility with 5.11

* Forgotten correction suggested by Lawrence

* Compatibility 5.11 log encoding - sigmoid part 1

* Compatibility 5.11 part 2

* Compatibility 5.11 - step 3

* Compatibility 5.11 - step 4

* Compatibility 5.11 step xx

* Compatibility 5.11 - combobox operators Q and J

* Compatibility 5.11 Cam16 GUI first part

* Improve GUI Cam16 sigmoid compatibility

* Compatibility 5.11 Jz - sigmoid - step 1

* Compatibility 5.11 Jz gui step 2

* Compatibility 5.11 Jz GUI step x

* Compatibility 5.11 Jz - history - etc.

* Various change labels - history ...

* Improve GUI - hide show 5.11 5.12

* Jz 5.11 in iplocallab - step 1

* Compatibility 5.11 iplocallab cam16 step 1

* Improve GUI hide show 511 512

* Solved - I hope - GUI problem with tone mapper Q and J 5.11 and 5.12

* Compatibility 5.11 iplocallab Cam16 step 2

* Improve GUI compatibility 5.11 labels tooltips

* Small improvments GUI - labels - history...

* Fixed typo in paramsedited.cc clcurve issue 7283

* Change tooltips method 5.12 - 5.11 for cam16 and Jz  brightness Q or J

* Clean and refine code

* Various change dafult language  and CAM16 CAM02 replace by Cam16 Cam02

* Change modeQJ method for 5.11 in function ppversion

* Change labels as suggested by Wayne PR 7111

* Others changes suggested for label

* Change tooltips as suggested in PR

* Use unique pointer instead of manual management

* Update rtdata/languages/default

Co-authored-by: Lawrence37 <45837045+Lawrence37@users.noreply.github.com>

* Change all Cam16 references to CAM16

* Change convention uppercase and lowercase in frame - checkbox

* Improve tooltips for Tone Mapping Operators

* Another change CIECAM and uppercase lowercase in checkbox

* Remove appimage and windows yml

---------

Co-authored-by: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com>
2025-01-19 07:52:32 +01:00
Lawrence Lee
187a0318d3
Fix pp3 deletion when clearing processing params
Fix comparison of original vs. current rank. The rank value can be -1,
which should be interpreted as 0. This allows proper assessment if the
rank has been changed. The pp3 is deleted if and only if the rank, color
label, and trash status are unchanged. pp3s were not getting deleted
because of the mismatch between the original rank (-1) and current rank
(0).

Also consider the rank and color label in the metadata and XMP sidecars.
If the rank and color label have not been edited in the current session
and the current values match the ones in the metadata and XMP sidecars,
the pp3 can be deleted.
2025-01-18 18:01:30 -08:00
Lawrence37
70a4309bd5
Merge pull request #7264 from Lawrence37/demosaiced-float-dng
Demosaiced floating point DNGs
2025-01-16 22:20:53 -08:00