11330 Commits

Author SHA1 Message Date
Pandagrapher
36222d14a2 Fixes blur rendering with RTSurface on hidpi screen
Other fixes:
- Fixes splash image not rendered
- Cleans commented code
- Replaces deprecated librsvg functions
- Updates Makefile librsvg required minimum version
- Correctly uses RTSurface getWidth / getHeight functions
- Improves lwbutton aspect

Known issues:
- Blur rendering with RTPixbuf on hidpi screen
2022-08-21 15:45:07 +02:00
Pandagrapher
7ee6fd795b Add other font size scaling
Minor fixes:
- Fixes some incorrect cast
- fixes some incorrect comments
2022-08-19 19:05:06 +02:00
Pandagrapher
89d2bdce5b Initial commit for real hidpi support
Note: This commit has only been tested on MacOS

Changes:
- Icons now use the native hidpi support from Gtk (through Icon Theme)
- Icons are now directly generated from scalable file (i.e. SVG file)
- Widget sizes are scaled based on DPI and scale factor
- Font size is scaled based on DPI and scale factor
2022-08-19 16:47:28 +02:00
Pandagrapher
1e2dc30738
Local adjustments - Fix apply/paste actions with LA
- Fixes LA lost when applying partial profile (fixes #6150)
- Fixes LA behavior when using apply/paste actions: spots are now totally replaced and not anymore merged (fixes #6136 and #6411)
- Fixes a crash in specific situations when saving/copying a partial number of spots
- Partial paste dialog: Fixes Locallab button remaining inconsistent if all the spots are deselected
2022-07-18 19:03:29 +02:00
Desmis
19a4720ec7 Fixed bad GUI behavior in Color and Light - issue 6517 2022-07-06 11:01:14 +02:00
Desmis
0599a5e96d Change tooltip in LA inverse issue 6506 2022-06-24 06:49:04 +02:00
Desmis
01570e3430 Fixed bad GUI behavior gamma in DR Exposure issue 6507 2022-06-23 14:10:12 +02:00
Desmis
404a584c74 Remove lines with bad history message ZCAM 2022-06-12 11:08:31 +02:00
Lawrence Lee
9bde8f18dc
Remove Leica M8 camconst entry
Workaround for issue #6498.
2022-06-11 18:44:03 -07:00
Ingo Weyrich
f86a455285
Local adjustments "Exposure compensation" final output incorrect, preview OK, fixes #6493 2022-06-10 18:50:03 +02:00
Lawrence37
68ec1a5bb5
Merge pull request #6488 from Beep6581/auto-persp-fix
Fix auto perspective correction not working sometimes
2022-05-21 18:33:50 -07:00
Lawrence Lee
2df26028b8
Fix auto perspective correction not working
Use default focal length and/or crop factor if undefined.

Closes #6487.
2022-05-21 15:11:00 -07:00
Desmis
9b837e59b3
Fixes crash in ipwavelet, improve behavior mask when one spot with many tools and mask (#6478) 2022-05-14 05:41:11 +02:00
Lawrence37
37080e1b5d
Fix some history messages (#6474)
Use correct key for spot removal history message.

Remove B&W channel mixer auto enabled message when changing the filter
color.

Replace hard-coded input color profile strings.
2022-05-14 05:39:31 +02:00
Desmis
feada4cd0a
Local adjustments - Fixed bug with mask enable logencoding issue 6459 (#6465)
* Fixed bug with mask enable logencoding issue 6459

* Fixed another bug with logena
2022-04-28 07:53:33 +02:00
Desmis
b989c271d8 Fixed bug bad behavior Log encoding issue 6459 2022-04-18 13:01:10 +02:00
Lawrence37
274c99e9b9
Merge pull request #6456 from Beep6581/windows-debug-build-gdb
Remove GDB from Windows debug build
2022-04-12 17:33:25 -07:00
Lawrence Lee
7212c09876
Remove GDB from Windows debug build 2022-04-11 21:20:36 -07:00
Thor Nielsen
4e14350708
Add support for reading Canon R6 white balance from CR3. (#6397)
Co-authored-by: Thor Gabelgaard Nielsen <thor@stheno.org>
Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
2022-04-10 10:57:25 +02:00
Thanatomanic
cdeddd8337
Logo fixes (#6446)
* Update logo to fix geometry issues. Propagate changes to all necessary files. Remove obsolete xcf.
2022-04-10 10:48:52 +02:00
Lawrence Lee
59a36d8f8a
Fix CR3 decoding crash
Fix buffer size.

Closes #6450.
2022-03-28 21:34:29 -07:00
Desmis
c45a6105f7
Improvments to LA Sigmoid - LA Log encoding Cam16 and ICC profile creator (#6410)
* Improvment to sigmoid Cam16 and Jz
* Change default parameters contrast sigmoid
* Log encoding Q added to Sigmoid Q - Cam16
* Change DR evaluation for sigmoid
* Change default log encoding cam16 and change tool position options
* DCI-P3 added to Iccprofilecreator
2022-03-26 12:04:21 +01:00
Bezierr
784625b5cc
Fix so E-Mount lens names are retrieved (#6437) 2022-03-26 12:02:50 +01:00
Thanatomanic
07ed31922c
Incorporate changes to CR3 decoder (from ART, LibRaw): read compressed RAW (CRAW) (#6434)
* Incorporate changes to CR3 decoder (from ART, LibRaw). Enables reading of compressed RAW (CRAW) files.
* Fix LGTM alerts, some trailing spaces (accidentally took over another minor edit, already pushed to dev)
2022-03-26 11:59:25 +01:00
Thanatomanic
1800fcc71f
Minor change for spot size control 2022-03-26 11:45:00 +01:00
Jonathan Bieler
d80b3c71d1
Add default spot size control (#6371)
* added adjuster to change default spot size in spot removal tool

* added translation for default spot size

* removed unnecessary adjuster methods
2022-03-26 11:44:09 +01:00
Thomas Orgis
30988feba3
Allow really tiny spots for removal (#6418)
I may be a very picky person, but I want to repair really tiny specks of dust on my negative scans.
I tried setting the SpotParams::minRadius to 1 and this seems to work fine. I can zoom in in the
UI and still manipulate things with point and click. I guess 1 is a natural lower boundary for the
radius that should be explored;-)
2022-03-26 11:43:21 +01:00
Bezierr
c2c7f2c862
Film Simulation ComboBox for long HaldCLUT names (#6423)
* Film Simulation ComboBox for long HaldCLUT names

Small change that makes the Film Simulation ComboBox look better if there are HaldCLUT names that are too long to fit into it

* Ellipsize long HaldCLUT names

Functionality moved to ClutComboBox constructor.

* Wrapped in Gtk::manage

Wrapped in Gtk::manage

* Compacted.
2022-03-26 11:34:42 +01:00
Simone Gotti
be94d40c69
Handle linear DNG as other raw images (#6442)
RawTherapee already handle linear DNGs as a RawImageSource but the red,
green, blue RawImageSource arrays aren't populated.
So operations that rely on them like Highlight recovery with color
Propagation and Retinex have no effect.

This patch populates the above arrays by calling nodemoasic for images
that have 3 color and not a CFA. Then these channels will be used by
RawImageSource::getImage like done with CFA or monochrome images
2022-03-26 11:31:44 +01:00
Simone Gotti
bd118a4a40
dcraw: use the right black levels for linear DNGs (#6444)
Linear dng (like the one created by Adobe DNG Converter) contains
multiple tiff subifd with different kind of images (the Primary Image
and multiple previews), these defines different kind of black levels.

Currently dcraw has a global cblack array that is overwritten by the
last parsed tiff ifd. With such kind of linear dng it's the last subifd.
The causes the use of the wrong black levels with the image having
usually a magenta color cast.

The dng spec uses the NewSubFileType tag to define the primary image
with tag value as 0.
This patch reads also the NewSubFileType tag and populates the cblack
array provided by the other tags only if it's the primary image.
2022-03-26 11:28:05 +01:00
Beep6581
5502f52f90
Merge pull request #6432 from Benitoite/patch-15
mac: clarify command-line interface instructions
2022-02-21 10:59:37 +01:00
Benitoite
346b5b6f52
mac: clarify command-line interface instructions 2022-02-20 20:41:17 -08:00
Lawrence37
b7c3b47ad7
Improve AppImage build (#6427)
Publish AboutThisBuild.txt for AppImage builds.
Make AppImage name consistent with Windows builds.
Port Windows build enhancements to AppImage build.
Cache AppImage tools in build workflow.
Fix AppImage publishing script.
Remove "WinVista" from build artifact name.
2022-02-13 11:41:55 -08:00
Thanatomanic
9a1423db6d
Update automated Windows build to have simple win64 name 2022-02-12 06:41:42 +01:00
Thanatomanic
3bb0fec986
Change lensfun path in automated Windows build
Fixes #6426
This aligns the paths to earlier builds, so that the path in people's `options` file is more likely to work correctly, immediately.
2022-02-12 06:15:01 +01:00
Morgan Hardwood
c8e3bf030a camconst.json whitespace fixes 2022-02-11 01:39:04 +01:00
Morgan Hardwood
34b56a14e4 Fixed color matrix for SONY ILCE-7M4 #6404 2022-02-11 01:27:09 +01:00
Lawrence37
a20fe8b191
Automated Windows builds (#6413)
Add Windows build workflow
2022-02-06 18:27:02 -08:00
Benitoite
bab5516871
Mac: set fftw3f_omp linker flags (#6406)
Sets linker flags for macOS for fftw3f_omp when OPTION_OMP==ON
2022-02-05 11:10:45 +01:00
Desmis
89492228b4 Add Jacques Dekker - jade_nl to the contributors of Rawtherapee 2022-02-04 07:36:19 +01:00
Lawrence Lee
9c5ce0d9bb Fix focal len autofill after browser adjustments
Don't update the camera-based perspective focal length and crop factor
parameters when making other adjustments using the file browser or batch
editor.

Closes #6402
2022-01-08 12:02:25 -08:00
Desmis
690fab3d08 Changes a brace in iplocalla and 2 warning in locallabtools2 - thanks to Floessie 2021-12-21 11:21:25 +01:00
Desmis
1e4f41bc05
LA - new tool - Color appearance (Cam16 & JzCzHz) (#6377)
* Gui improvments

* Several improvments GUI Jz algo

* Change function La for lightess Jz

* SH jzazbz first

* enable Jz SH

* Clean code

* Disabled Munsell correction when Jz

* Change tooltip and Cam16 Munsell

* GUI for CzHz and HzHz curves

* Enable curves Hz(Hz) Cz(Hz)

* Improve Cz chroma

* Jz100 reference refine

* Change limit Jz100

* Refine link between jz100 and peak adaptation

* Improve GUI

* Various improvment PQ PU gamut

* Change defaults settings

* forgotten PL in gamutjz

* Small changes and comment

* Change gamujz parameter

* disabled gamut Jz too slow

* Jzazbz curve Jz(Hz)

* reenable gamutjz

* small changes

* Change tooltip

* Change labels tooltips

* Jzazbz only on advanced mode

* GUI improvments

* Change tooltip

* Change default values and tooltip

* Added tooltip Jz

* Disabled Jz gamut

* Change gamma color and light - remove exposure

* Gamma for exposure and DR

* gamma Sharp

* Gamma vibrance

* gamma optimizations

* Change tooltips

* Optimization PQ

* LA GUI for tone curve Ciecam

* LA ciecam Enable curve lightness - brightness

* LA ciecam GUI color curve

* LA ciecam enable color curve

* Change tooltip and default values

* Enable Jz curve

* Enable Cz(Cz) curve

* Enable Cz(Jz) curve

* Added Log encoding to ciecam

* Improvment algorithm remapping

* Reenable forgotten listener logencodchanged

* Change Jz tooltips

* Reenable dynamic range and exposure

* First change GUI auto ciecam

* 2nd fixed ciecam auto

* Improve GUI maskbackground curves

* Enable activspot for la ciecam

* set sensitive sliders La ciecam when auto scene conditions

* Change internal calculations see comments

* Checcbox ForceJz to 1

* Change tool position - change order CAM model

* Expander for Jzczhz

* Remove unused code

* GUI changes

* Change labels CAM16 Jzazbz

* Change slider brightness parameters

* improvment SH jz

* Some changes to brightness Jz

* Fixed scene conditions auto

* Renable forgotten change

* Prepare calculation Zcam

* Prepare Iz for zcam

* First GUI Zcam

* Improve GUI Zcam

* Calculate Qz white - brightness of the reference white

* Prepare for PQ - eventually

* Init LUT ZCAMBrightCurveJz and ZCAMBrightCurveQz

* prepare zcam achromatic variables

* First zcam

* Change algo step 5 zcam

* Another change original algo

* Another change to original algo

* first colorfullness

* Fixed bad behavior threshold and change c c2 surround parameters

* added saturation Zcam

* Change parameters surround

* Enable chroma zcam

* change chroma and lightness formula

* disable OMP for 2nd process Zcam

* Improvment zcam for some high-light images

* Change parameters overflow zcam

* Change parmeters high datas

* another change to retrieve...

* Simplify code matrix conversion xyz-jzazbz

* Adjust internam parameters zcam

* Change some parameters - clean code

* Enable PQCam16

* Enable PQ Cam16 - disable ZCAM

* remove warning compilation message

* Change GUI jzczhz

* Fixed bad behavior remaping jz

* Remove forgotten parameter - hide Jz100 - PU adaptation- chnage tooltips

* Another change to chroma parameter

* Small changes

* If verbose display in console Cam16 informations

* If verbose display in console source saturation colorfullness

* Change to La calculation for ciecam

* Change GUI cam16 - jzczhz - remove cam16 and jzczhz

* Disable exposure compensation to calculate La for all Ciecam and Log encoding

* Change label Cam16 and jzczhz

* Improve GUI Jz

* Other improvment GUI Jz Cam16

* verify nan Jz and ciecam matrix to avoid crash

* Enable La manual for Jz to change PU-adaptation

* Improve calculation to avoid crash Jz and Cam16 matrix

* Fixed crash with local contrast in cam16

* Clean code loccont

* First step GUI Cie mask

* GUI part 2 - Cie

* Build cieMask

* Gui part 3 cie

* Valid llcieMask

* Valid llcieMask

* Pass GUI curves parameters to iplocallab.cc

* 2nd pass parameters from GUI to iplocallab.cc

* Init first functions modifications

* Add expander to cam16 adjustments

* First test mask cie

* Various improvment GUI - tooltips - process

* Take into account Yb cam16 for Jz - reenable warm-cool

* Surround source Cam16 before Jz

* Improve GUI and process

* Fixed bug and bad behavior last commit

* Fixed bug chroma mask - improve GUI - Relative luminance for Jz

* Increase sensitivity mask chroma

* Improve Jz with saturation Z - improve GUI Jzczhz

* Small code improvment

* Another change mask C and enable mask for Cam16 and Jz

* Some changes

* Enable denoise chroma mask

* Small change LIM01 normchromar

* Enable Zcam matrix

* Improve chroma curves...mask and boudaries

* take into account recursive slider in settings

* Change tooltip - improvment to C curve (denoise C - best value in curves - etc.) - remove Zcam button

* Change tooltips

* First part GUI - local contrast wavelet Jz

* Passed parameters GUI local contrast wav jz to rtengine

* save config wavelet jz

* first try wavelet local contrast Jz

* Add tooltips

* Simplify code wavelet local contrast

* take into account edge wavelet performance in Wavelet Jz

* Fixed overflow jz when usig botth contradt and wavelt local jz contrast

* Adapt size winGdiHandles in filepanel to avoid crash in Windows multieditor

* First GUI part Clarity wavelet Jz

* First try wavelet Jz Cz clarity

* Added tooltips

* Small change to enable wavelet jz

* Disabled (commented) all Zcam code

* Improve behavior when SH local-contrast and Clarity are use both

* Change limit PQremap jz

* Clean and optimize code

* Reenable mjjz

* Change settings guidedfilter wavelet Jz

* Fixed crash when revory based on lum mask negative

* Change tooltip

* Fixed ad behavior auto mean and absolute luminance

* Remove warning in console

* Fixed bad behavior auto Log encoding - bad behavior curves L(H) Jz

* Fixed another bad behavior - reenable curves color and light L(H) C(H)

* first transposition Lab Jz for curves H

* Change mask boundary for Jz

* Various improvment to H curves Jz

* Add amountchrom to Hcurve Color and Light

* Improve gray boundary curves behavior

* reenable Jz curve H(H) - soft radius

* Improve guidefilter Jz H curve

* Threshold chroma Jz(Hz)

* Enable guidedfilter chroma curve H

* improve GUI curves Hz

* Checkbutton chroma for curve Jz(Hz)

* Change event selectspot

* Clean and small optimization code

* Another clean code

* Change calculation Hz references for curves Hz

* Clean code

* Various changes to GF and GUI

* Another change to Chroma for Jz(H)

* Change GUI sensitive Jz100 adapdjzcie

* Improve code for Jz100

* Change default value skin-protection to 0 instead of 50

* Clean code

* Remove BENCHFUN for ciecam

* small correction to huejz_to_huehsv2 conversion

* Added missing plum parameter for jch2xyz_ciecam02float

* another small change to huejz_to_huehsv2

* Improvment to huelab_to_huehsv2 and some double functions

* Fixed warning hide parameters in lgtm-com

* Fixed ? Missing retuen statement in lgtm-com

* Change behavior Log encoding whith PQ Cam16

* Small improvment to Jz PU adaptation

* Added forgoten to_one for Cz slider

* Replace 0.707... by RT_SQRT1_2 - change some settings chroma

* Improvment to getAutoLogloc

* Fixed crash with array in getAutoLogloc

* First try Jz Log encoding

* Forgotten Cz

* Various improvment GUI setlogscale - Jz log encoding

* Change labels tooltips Jz log

* Change wrong clipcz value

* Change tooltip auto scene conditions

* Fixed bad behavior blackevjz whiteevjz

* Small improvment to LA Log encoding std

* Avoid bad behavior Jz log when enable Relative luminance

* Change sourcegray jz calculation

* Revert last change

* Clean and comment code

* Review tooltips thanks to Wayne - harmonize response La log encoding and Jz Log encoding

* Always force Dynamic Range evaluation in full frame mode for Jz log encoding

* Remove unused code

* Small optimizations sigmoid Cam16 and Jz

* Comment code

* Change parameters deltaE for HDR

* Various improvment to Jz - La - sigmoid - log encoding

* Basic support for Sony ILCE-7M4 in camconst.json

* German translation Spot Removal (#6388)

* Filmnegative German translation (#6389)

* (Temporarily) disable `ftree-loop-vectorize` for GCC 11 because of #6384

* Added BlacEv WhiteEv to sigmoidJz

* Improve GUI for BlackEv WhiteEv

* Change location SigmoidJz in Iplocallab

* Improvment GUI and sensitivity sliders strength sigmoid

* Change labels

Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
Co-authored-by: Anna <simonanna@gmx.net>
2021-12-21 07:43:59 +01:00
Thanatomanic
4b8481f1c9
(Temporarily) disable ftree-loop-vectorize for GCC 11 because of #6384 2021-12-16 07:50:31 +01:00
Anna
0e122a485a
Filmnegative German translation (#6389) 2021-12-16 07:29:12 +01:00
Anna
6aa1168534
German translation Spot Removal (#6388) 2021-12-16 07:28:59 +01:00
Thanatomanic
72ec73caa3
Basic support for Sony ILCE-7M4 in camconst.json 2021-12-15 06:34:14 +01:00
Ingo Weyrich
bffc8c11d4
fixes #6390 2021-12-03 11:18:49 +01:00
Ingo Weyrich
3567d54b52
faster sigmoid function to create the contrast mask used in dual demosaic and capture sharpening, #6386 (#6387) 2021-12-01 15:01:27 +01:00
Ingo Weyrich
40827955ca camconst: Fujifilm X-T30 II has same sensor as Fujifilm X-T30 2021-11-23 14:39:01 +01:00