Commit Graph

12133 Commits

Author SHA1 Message Date
Floessie 95f85d50f5
Merge pull request #7056 from sgotti/dcp_use_std_unique_ptr_to_automatically_close_file_descriptor
dcp: use std::unique_ptr to automatically close file descriptor
2024-04-24 14:22:02 +02:00
Simone Gotti ff65f86559 dcp: use std::unique_ptr to automatically close file descriptor
Use std::unique_ptr to automatically close file descriptor instead of
manually closing it at every return point.
2024-04-24 11:37:43 +02:00
Floessie 543a3604c2
Merge pull request #7053 from sgotti/dcp_avoid_file_descriptor_leak_on_error
dcp: avoid file descriptor leak on error.
2024-04-23 08:20:08 +02:00
Simone Gotti 232c11c37c dcp: avoid file descriptor leak on error.
If the provided file doesn't contain valid dcp metadata the DCPProfile
constructor will return without closing the file descriptor.
2024-04-22 09:45:12 +02:00
Desmis c72e67ae24
Limits incompatibility between Ciecam and CBDL and others to Cam02 #7017 (#7023)
* CBDL and others only with ciecam Cam16

* Change windows and appimage yml

* Remove appimage.yml and windows.yml
2024-04-20 17:34:53 +02:00
Desmis 30cf3f721f
UV photos - Wish from LarsHP Increased green (tint) value from 10 to 100 (#7043)
* Change limits green to 40 instead of 10

* Publish uvgreen in pre-dev appimage.yml windows.yml

* Change range setLogScale

* Revert change to observer 2 - format

* Set maxgreen 60

* Set maxgreen 100 and minequal 0.5 maxequal 1.8

* Set maxgreen 1000 minequal 0.4 maxequal 2.5

* Set maxgreen 100 minequal 0.5 maxequal 2
2024-04-20 17:11:31 +02:00
Lawrence37 46531c7eca
Merge pull request #7038 from Lawrence37/windows-installer-icons
Fix for missing icons from the Windows installer
2024-04-17 21:21:06 -07:00
U-PCSPECIALIST01\jdesm 129e3f4dd8 Reset windows.yml appimage.yml 2024-04-15 07:54:24 +02:00
Desmis 8e312d9c02
Local Adjustments - Cam16 - lacam16n2 (new) (#7010)
* Restore settings and options

* Clean code and windows.yml

* Gui improvment

* Fixed wrong value maxicam

* Change GUI TRC and Log encoding and sigmoid

* Clean code locallabtools2

* Fomat locallabtools2

* New calcualtion gray when using Q

* Improve sigmoid Q with meanQ

* Change labels and tooltip

* Change DR with log

* Change location GUI TRC

* Change GUI sigmoid hide - show

* Fixed bug with trc

* Added whites to TRC & whites

* Small modification whites - comment code

* Change GUI and selection for sigmoid and log encoding Q

* Change yml worksflow

* Added cat to workingtrc rtthumbnail

* Delete entries in defualt languages

* Blacks and whites distribution

* Change tooltips

* Fixed some issues

* Change GUI hide to set_sensitive

* first step white and black log encoding

* GUI Labels - tooltips

* Compress brightness log encoding

* Change compression threshold

* Clean procparams

* Improve GUI and threshold compression

* Improvment GUI and tooltips

* First step primaries cam16

* Primaries loc step 2

* Primaries loc step 3

* jdcmax primaries - format iplab2rgb

* Improve GUI

* Beta RGB primaries and message

* Change tooltips

* Change order prim

* CIExy diagram step 1

* CIExy step 2

* CIExy step 2

* CIExy diagram step 4

* CIExy diagram step 5

* Change improccordinator and locallabtool2s listener

* Forgoten delete in improccordinator

* Disable setListener

* Improve GUI and behavior TRC and Primaries

* TRC primaries - illuminant step 1

* TRC primaries - illuminant step 2

* TRC primaries - illuminant step 3

* TRC primaries - illuminant step 4

* Gamut control - remove old listener and added listener locallabcieLC

* publish pre dev labels windows appimage

* publish pre dev labels windows appimage []

* Move log encoding cie - step 1

* Step 2

* Move Log encoding CIE and improve GUI step 3

* Pre Ciecam midtones step 1

* Mid tones step 2 and tooltips

* Forgoten label and tooltips

* Improve tooltips - and change yml files

* Include repository in appimage and windows.yml - change labels

* Forgotten surroundcie in procparams.cc

* Improve GUI with expander - clean code

* Change tooltip

* Clean locallabtools2 - improve Jpro

* Bypass Ciecam step 1

* step 2

* Step 3

* Change settings - improve GUI

* Clean code

* Improve sigmoid cam16

* Improve sigmoid cam16

* Added illuminant E to illmethod

* Change iccmatrices

* Working profile JDCmax stdA and Abstract Profile

* Pre-ciecam JDCmax stdA

* Abstract profile - cat method step 1

* Step 3

* Step 4 and various changes

* Enable default gamutcontrol - improve GUI

* Refine color pre-ciecam

* Step 2

* step 3

* Step - 4

* Refine colors Abstract profiles

* Expander true Abstract Profile

* Clean and comment code

* Tooltip pre-ciecam

* Change tooltips

* Improve GUI free primaries

* Labgrid dominant color

* Shift dominant color step 1

* Shift xy dominant color

* History msg shift

* Fixed various bad behavior - change scalrefi

* Improve behavior DR vs deltaE - log encoding and pre-ciecam

* Limited reduce deltaE to 1 - comment code

* Improve behavior TIF/JPG

* Forgotten code

* Various small changes to refinement color pre-ciecam

* Foramt iplab2rgb and simpleprocees - small change meanx meany

* Bad behavior with simpleprocess abstract profile and pre-ciecam

* Re-enable code for simpleprocess

* Iprove iplab2rgb

* Improve GUI if selection Jz

* provis with precision

* Chnage GUI log encoding basic - improve shiftxl shiftyl pre-ciecam

* Improve GUI with expanders

* Change location pre-ciecam expander

* Change label tooltip pre-ciecam

* Improve white distribution and equalizer

* Bad behavior Source data adjustments

* Comment code

* Improve Dynamic Range Compression - for some images with very high DR

* Clean code

* Improve TM fattal with saturation control in LA

* saturation control fattal LA

* RE-order paramsedit

* Change local contrast in LA - log encoding and Cam16

* LA settings avoidcolorshift XYZabsolute

* Change GUI precision blackEv WhiteEv BlackEvjz WhiteEvjz

* Check button smoothcie - smooth highlights

* Change order midtones - log encoding - other method smooth

* Change maximum gamma in TRC cam16

* Change maximum slope in TRC cam16

* refine smooth highlights

* Small improvment - comment code

* Bad behavior - black screen - in Cam16

* setLogscale for slopjcie

* Change source data GUI - PQ and other DR functions

* PQ mode advanced - adjustments and tooltip

* Comment and clean code

* Simplified GUI in Basic mode - Source Data Adjustments

* Added primaries to source date adjustements - fix basic problem

* GUI graduaded filter cie cam16

* Graduated filter - LA Color appearance

* More illuminant cam16 - D120 - Tungsten 2000K - Tungsten 1500K

* Abstract profile ICM - shift x - shift y

* Frame color dominant Abstract profile

* Frame color dominant Abstract profile

* Illuminant E - abstract profile

* Abstact profile - midtones

* Abstrcat profile - smooth highlights checkbutton

* Abstract Profile - Smooth highligts rtengine

* Bad behavior LA gamut - re-enabled Munsell in settings

* adapts Abstract profile and auto-match tone curve

* Change chromaticity curve c(h) - ppversion 351 and procparams

* icmpanel fixed bad wmidtcie

* Change in procparams assignfromkeyfile color Management

* Remove message in console

* Missing code procparams.cc wcat

* Clean message in console

* Disable ppversion 351 - surround extremely dark

* Choice surround scene Disable ciecam

* Improve GUI for surround Disable Ciecam

* Small change gamutcontrol - message g0..g5 verbose

* Remove gautcontrol on limits

* Strength log encoding - Source data adjustments

* Fixed genral bug in lacam16n - bad behavior color

* Checkbutton saturation control - Cam16 log encoding

* Change default saturation controle log encoding - false

* GUI LA Log encoding - Strength - saturation control - part 1

* Checkbox saturation control LA Log encoding

* Change repartition GUI brightnees - hue - chroma

* Hide primaries and illuminant in standard mode

* Merge with dev 2

* reduces sigmoid Q contrast

* Provisory disable Sigmoid Q

* Re-enable sigmoid function complexity mode

* Re-enable log encoding Q - with Ciecam

* GUI improvments - small code improvments

* Change tooltip

* Simplify GUI mode Basic - Standard - added tooltip

* Change tooltip - LA settings - Avoid color shift

* hope to fix the bug between Jz and Cam16

* Another change for Jz - format astyle locallabtool2.cc

* Clean code GUI - remove Zcam

* Change label in Recovery based on luminance mask

* Reduces minimum spot size from 2 to 1.5

* Improve behavior GUI with Jzczhz

* Clean code iplocallab.cc

* Small improvement ciecam02.cc

* Fixed bad behvior GUI and code between Cam16 and Jzczhz

* Improve Jz and surround effects

* Improve Jz and Local contrast Cam16 & Jz taking account surround

* Disable local contrast if cam16 and not ciecam surround

* Restore epsil 0.001 loccont

* Improve local contrast when surround low and Jz

* Clean code locallabtool2 - weakened a little Local Contrast in connection with surround

* Remove Laplacian threshold in Cam16 and JzCzHz mask

* Simplify Mask for JzCzHz

* Enable choice complexity mask in mode advanced

* Solved bad behavior GUI masks

* Optimize GUI mask Jz and cam16

* Change 3 icon .png without png

* Remove wrong message in console without problem

* Remove warning with & in some tooltips and TP_WBALANCE_AUTO_HEADER

* Smoothcie Method GUI

* Replace checkbutton smooth highlight bya combobox

* Improve behavior GUI - CIECAM - advanced - tempout and greenout

* Fixed - I hope - crash when delete spot and cam16

* Clean code with maxcam and dependencies

* Added Smooth highlight rolloff or not

* Improve smooth lights - gamma mode only - standard and advanced - gray balance

* Improve Smoothing lights - take into account the 2 Yb

* Change tooltip

* Chnage wrong lable scope => slope

* Clean and comment code

* Reduces the effect of - Smoothing light -Ev mode - Small change range Slope

* Scale Yb scene white whiteEv

* Hide Scale in some GUI cases

* Clean comment code Smotth and TM function

* Change GUI - Smooth highlights and tone mapping - allows also Basic

* Change labels

* Change tooltip

* Remove arrow.cur in windows.yml as suggested by Lawrence37

* Reverse last changes

* Change limits slope based in SDA

* Clean locallabtools2.cc

* Set minimum slope based to 0.6

* Change label highlight

* Change listener scene parameters to GUI

* Clean code sine changes listener

* Limits Blackev Whiteev values in slope base to avoid crash

* Change a little limits BlackEv WhiteEv

* Small changes in console - remove warnings

* Change XYZ relative - avoid color shift

* Improve gamutmap

* re build gamutmap
2024-04-15 07:47:19 +02:00
Lawrence37 73fb89147c
Merge pull request #7002 from sgotti/dcraw_fujifilm_gfx_100ii
dcraw: add support for Fujifilm GFX 100 II
2024-04-14 12:18:31 -07:00
Lawrence37 9e42a67f58
Merge pull request #7015 from sgotti/imageio_fix_png_with_transparency
imageio: fix issues/crash on png with transparency
2024-04-13 16:51:59 -07:00
Lawrence Lee eaabf66e9c
Register icons folder for Windows installer 2024-04-12 22:36:08 -07:00
Desmis 84134e9aa2
Change tweakParams spot.cc - hand-open-hicontrast toolbar.cc (#7029) 2024-04-12 07:52:20 +02:00
Simone Gotti 52e88e8954 imageio: fix issues/crash on png with transparency
If a png has a transparency chunk (tRNS), after converting the
transparency to alpha we should also strip alpha (color_type is not
updated with PNG_COLOR_MASK_ALPHA flag set) or the row parsing will
return also the alpha channel causing a memory overflow.
2024-03-29 15:16:55 +01:00
Simone Gotti 65c68364a9 dcraw: add support for Fujifilm GFX 100 II 2024-03-29 10:05:51 +01:00
Lawrence37 11240bc97d
Merge pull request #7009 from sgotti/fix_options_BrowseRecursiveFollowLinks_reading
options: fix BrowseRecursiveFollowLinks reading
2024-03-28 21:30:41 -07:00
Simone Gotti c2a57359fe options: fix BrowseRecursiveFollowLinks reading
PR #6769 added the boolean BrowseRecursiveFollowLinks options, but while
it's saved as a boolean, it's read as an integer causing this error:

```
Options::readFromFile / Error code 5 while reading values from "/home/sgotti/.config/RawTherapee/options":
Key file contains key “BrowseRecursiveFollowLinks” in group “File Browser” which has a value that cannot be interpreted.
```
2024-03-25 11:02:03 +01:00
Lawrence37 61019d0dc6
Merge pull request #7006 from hfiguiere/iplab2rgb-leak
iplab2rgb: Fix memory leak
2024-03-24 12:20:33 -07:00
Lawrence37 3bab4657d7
Merge pull request #6962 from sgotti/read_raw_embedded_dcp
Read embedded dcp profile from raw files
2024-03-24 12:19:04 -07:00
Lawrence37 0fa0e42ed0
Merge pull request #7003 from Lawrence37/om-digital-solutions-tg-7
Initial support for OM TG-7
2024-03-24 12:18:21 -07:00
Lawrence37 8b783d8008
Merge pull request #6991 from sgotti/flat_field_different_black_levels
Handle flat field images with different black levels than raw image
2024-03-24 12:04:35 -07:00
Lawrence37 bf8f385eb5
Merge pull request #6769 from Lawrence37/browse-subfolder
Recursive image browsing
2024-03-24 12:02:21 -07:00
Lawrence37 dc0796fca9
Merge pull request #6974 from Lawrence37/italian-translation
Italian translation
2024-03-24 11:58:33 -07:00
Lawrence Lee 6b1afe07cd Remove Adwaita cursors from Windows build 2024-03-24 11:55:36 -07:00
Hubert Figuière b46c22dee6 iplab2rgb: Fix memory leak
Signed-off-by: Hubert Figuière <hub@figuiere.net>
2024-03-23 16:58:45 -04:00
Lawrence Lee c5967cb4e4
Add initial support for OM TG-7
Read CFA pattern for OM Digital Solutions cameras.
Use Olympus TG-6 camconst for the TG-7, since the dcraw matrix and raw
crop are the same.
2024-03-21 21:45:35 -07:00
Simone Gotti 2aea26b5f3 Handle flat field images with different black levels than raw image
For bayer images handle flat field images with different black levels
than the raw image.
2024-03-17 21:56:56 +01:00
Lawrence37 7751019b6e
Merge pull request #6992 from Pandagrapher/patch_linux
Fix 'Hicolor' icon theme conflict when installing on Linux
2024-03-16 17:44:16 -07:00
Pandagrapher 026e9e2a38 Do not install 'index.theme' file for linux build with 'BUILD_BUNDLE=OFF' 2024-03-16 16:13:47 +01:00
Lawrence37 e8ed39206c
Merge pull request #6983 from Lawrence37/canon-cam-wb-fix
Read camera white balance for Canon EOS R6m2, R7, and more
2024-03-11 19:20:26 -07:00
Lawrence Lee c3a1656ac0
Fix WB multipliers for some Canon cameras
Read the correct tag for the as-shot multipliers (index 0x69). The port
from LibRaw incorrectly used the tag at index 0x69 + 0x64, which is the
daylight WB multipliers. This fix affects Canon cameras with color data
versions 34 (EOS R3) and 48 (EOS R6m2, EOS R7, and EOS R10).
2024-03-09 22:17:55 -08:00
Lawrence Lee 82dce5fd47
Adapt to real hi-DPI update
Change recursive folder browsing button icon color and size.
2024-03-09 12:47:52 -08:00
Lawrence Lee 3e8ebfef2c
Merge branch 'dev' into browse-subfolder 2024-03-09 12:19:30 -08:00
Lawrence37 54d5979dbb
Merge pull request #6981 from Lawrence37/dutch-translation
Update Dutch translation
2024-03-09 11:39:19 -08:00
Lawrence37 fb74a9fb11
Merge pull request #6977 from sgotti/denoise_gui_set_luminance_detail_adjuster_default_as_procparams_default
denoise gui: set luminance detail adjuster default as procparams default
2024-03-09 11:23:41 -08:00
Lawrence Lee 5ecdaa2b00
Update Dutch translation
Supplied by paulmatthijsse
(https://github.com/Beep6581/RawTherapee/issues/6979).
2024-03-09 11:14:10 -08:00
Desmis 96a48c6334
Local adjustments - set method Avoid Gamut to Munsell - better processing of highlights and gamut (#6965)
* Avoidgamumethod set to Munsell-only

* Set appimage.yml and windows.yml to la_gamutmunsell

* Remove procparams conversion XYZ absolute tu Munsell only

* Neutralize appimage.yml and windows.yml
2024-03-09 07:36:46 +01:00
Simone Gotti 8de0519204 denoise gui: set luminance detail adjuster default as procparams default
The rtgui denoise luminance detail adjuster widget default value is
set to 50, but the procparams default is 0 causing some confusing
behavior: when enabling the denoise tool in the gui the luminance detail
value is set to the proc params default value (0), when resetting the
adjuster the values is set to 50.

This patch sets the adjuster default value to the procparams default
value like the other adjusters.
2024-03-08 10:46:26 +01:00
Lawrence37 103bc9fa1d
Merge pull request #6976 from Benitoite/patch-36
Windows/innosetup: comment out deleted font
2024-03-07 22:14:35 -08:00
Richard E Barber 3b2732d641
windows innosetup: comment out font
bf988ad274 removes the default font in favor of the OS default. `tools/win/InnoSetup/WindowsInnoSetup.iss.in` Line 122 causes the win build fail trying to load the deleted font.
2024-03-07 14:12:02 -08:00
Simone Gotti 3e26976403 Read embedded dcp profile from raw files
raw files, usually dng files, can provide a dcp profile by providing the
related tags.

This patch will make the "Use embedded" options in the color management
panel selectable if the source raw file embeds a dcp profile.
In this case the DCP panel will be enabled like when reading an external
dcp profile.

Additional changes:

* Rename "Use embedded, if possible" to just "Use embedded" since the
option is already disabled when no embedded profile is found.
* Update the "Use embedded" options tooltip as it's now not related to
  only non raw images.
2024-03-07 10:37:54 +01:00
Desmis a5df36c569
Change Tooltip Observer (#6975)
* Change Tooltip Observer

* Change observer tooltip 2
2024-03-07 08:23:50 +01:00
Lawrence37 7f45af1182
Merge pull request #6830 from Pandagrapher/real_hidpi
"Real" Hi-DPI support for RawTherapee GUI - Part 1
2024-03-06 12:59:21 -08:00
Pandagrapher 7e63892628 Merge with 'Beep6581/dev' 2024-03-06 19:10:49 +01:00
Lawrence Lee 4e22e32459
Update Italian translation
Translation provided by capejeaspaje
(https://github.com/Beep6581/RawTherapee/issues/6971).
2024-03-05 22:53:56 -08:00
U-PCSPECIALIST01\jdesm 619b1866fb Remove appimage.yml and windows.yml 2024-03-03 08:09:24 +01:00
Desmis 484f1a29de
Local adjustments - Chromaticity curve C(h) (#6964)
* Chromaticity curve C(h)

* Appimage.yml windows.yml lachroma
2024-03-03 07:28:37 +01:00
Lawrence37 f687bda276
Merge pull request #6872 from 0v3rt1r3d/0v3rt1r3d/max-zoom-preference
Implement maximal zoom feature
2024-03-02 16:40:15 -08:00
Lawrence37 9308a830ed
Merge pull request #6952 from Lawrence37/sony-ilce-7cr-camconst
Sony ILCE-7CR / ILCE-7RM5 camconst
2024-03-02 16:11:53 -08:00
Lawrence37 8495ba7502
Merge pull request #6837 from Lawrence37/lensfun-match-saved-name
Fix for some Lensfun corrections not available
2024-03-02 15:45:59 -08:00