Commit Graph

4164 Commits

Author SHA1 Message Date
Lawrence Lee
6787c53c9b Show black level adjustments in file browser
File browser thumbnails for raw images start with a minimally-processed
images. These images are cached and image adjustments are applied on
top. The black level is "baked-into" the cached image. Therefore, to
reflect the black level adjustments in the thumbnail, one of two options
are required:
    1. Cache an image before the black level is applied and process the
       black level on top of this image.
    2. Recreate the base image with the new black level and cache it.
The first option yields better performance when the user changes the
black level. However, it requires other base adjustments to be applied
every time, such as the camera multipliers. The second option requires
the base image to be recreated every time the black level is changed.
This commit implements the second option. It minimizes code changes, and
therefore possible bugs. It does add a performance penalty when the
black level changes, but the black level adjustment is rarely used.
2023-07-29 17:37:13 -07:00
Dániel Battyányi
c79b75cea8 Removed unnecesarry references 2023-07-20 12:38:17 +02:00
Alexander Brock
87e96b3e96 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-07-18 19:01:27 +02:00
Dániel Battyányi
0ab53c39d1 Resolved bug affecting the negative spot pickers 2023-07-18 18:36:54 +02:00
Dániel Battyányi
2fd18f0284 Added bug description 2023-07-18 17:59:25 +02:00
Dániel Battyányi
1e6ef3e2a2 Implemented SpotPicker using the guiutils class in filmnegative 2023-07-18 17:53:27 +02:00
Dániel Battyányi
c06ba81a23 Implemented picker in guiutils as class 2023-07-18 17:39:38 +02:00
Dániel Battyányi
9e159bbee0 Removed potential memory leaks 2023-07-17 23:58:23 +02:00
Dániel Battyányi
2c6b713004 Added text to label 2023-07-17 23:38:44 +02:00
Dániel Battyányi
d700364858 The size of the negative picker rectangles can be changed. 2023-07-17 22:57:59 +02:00
Dániel Battyányi
edcc52d256 Standardised pickbutton creation/look by using new spot_button_template function. Every button has the same icon and should be provided with a tolltip 2023-07-17 16:33:57 +02:00
Dániel Battyányi
d987cbd11b Film negative white balance picker displays correctly in menu 2023-07-17 15:33:56 +02:00
Dániel Battyányi
b94727e838 Picker setup/template in helper function 2023-07-17 15:26:38 +02:00
Lawrence Lee
6f50b68fa7 Consider raw border with CA avoid color shift 2023-07-16 16:17:57 -07:00
Lawrence Lee
473d50a0a3 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-07-15 17:47:26 -07:00
Dániel Battyányi
00cf09d675 Displays the correct boxes 2023-07-14 18:40:52 +02:00
Lawrence37
b68a6e9581 Merge pull request #6790 from luzpaz/typos
Fix various typos
2023-07-12 21:22:54 -07:00
Lawrence37
b08a571d7c Merge pull request #6777 from Christian-Kr/bug-#6329
Bug #6329: Variable done should be set to true inside loop, otherwise one fail w…
2023-07-12 21:18:55 -07:00
Lawrence37
2b5ca1b78a Merge pull request #6776 from Christian-Kr/bug-#5912
Bug #5912: Set dummy width and height for ThumbBrowserEntry, cause height will b…
2023-07-12 21:17:51 -07:00
luzpaz
b0ebab8e08 Fix various typos
Found via `codespell -q 3 -S ./rtdata/languages -L activ,alph,ba,bloc,bord,chang,childs,currentry,dof,dum,fo,hist,inout,invers,lonly,makro,ois,pres,preserv,portugues,rady,reall,redy,struc,tbe,thre,trough,vart,vekto`
2023-07-05 13:51:11 +00:00
Lawrence Lee
6bd822352e Display actual language names in preferences
Add ability to set metadata variables in the language files.
Use the LANGUAGE_DISPLAY_NAME metadata variable value in preferences to
show the languages.

Metadata variables are defined in the first section of a language file,
i.e. the comments at the beginning of the file. At most one variable can
be defined per line. The definition takes the following format:
    #<header><whitespace>@<key>=<value>
where:
    <header> is any sequence of non-whitespace characters
    <whitespace> is any non-empty sequence of whitespace characters
    <key> is the metadata key name
    <value> is the metadata value
For example,
    #101 @LANGUAGE_DISPLAY_NAME=English (US)
defines a metadata key "LANGUAGE_DISPLAY_NAME" with value
"English (US)". Lines that do not match the format are ignored.
2023-07-04 17:52:01 -07:00
Hombre57
d912dd1e51 Ending conversion to std::thread and std::mutex 2023-07-04 00:30:25 +02:00
Alexander Brock
d5fbf21f6f Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-07-03 01:16:05 +02:00
Hombre57
80a2d199db Merge remote-tracking branch 'origin/dev' into std-mutex 2023-07-02 00:38:16 +02:00
Lawrence37
f490e9c607 Merge pull request #6765 from Lawrence37/pipette-lab-fix
Fix L*a*b* values in the lockable color picker and navigator
2023-06-30 22:24:07 -07:00
Alexander Brock
a19fa3bfd0 Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-06-27 22:27:42 +02:00
Hombre
b950477bc9 Fix cropped curves widget 2023-06-25 17:42:34 -07:00
Christian-Kr
81b6dd8be4 Refactor code to be more readable. 2023-06-25 08:23:33 +02:00
Christian-Kr
0507b0a26a Add a comment why setting the position of a not drawn thumb is needed here. 2023-06-25 06:50:13 +02:00
Christian-Kr
960d1fef1f Variable done should be set to true inside loop, otherwise one fail will cause to stay in loop forever. 2023-06-19 19:52:25 +02:00
Christian-Kr
a4eeb66145 Set dummy width and height for ThumbBrowserEntry, cause height will be used to calculate the height of the scroll pane. Positions also need to be set as a dummy, cause no method allows only width or height. 2023-06-19 19:05:42 +02:00
Lawrence Lee
051bbaf322 Listen to changed dirs when browsing recursively
Remove images in removed directories and rescan when new directories are
added.
2023-06-11 18:28:16 -07:00
Lawrence Lee
eef54f0f2d Add option to disable symlinks in recursive browse 2023-06-11 17:22:40 -07:00
Lawrence Lee
660c9507cc Add recursive browsing options to preferences
Allow maximum recursion depth and maximum sub-directories to be
configured in preferences.
2023-06-11 11:47:46 -07:00
Lawrence Lee
676ab8649b Add recursive sub-folder image browsing
Add toggle button in the top toolbar of the file browser to activate or
deactivate recursive browsing. Toggle state is saved in options.

Limit recursion depth and explored directory count.
2023-06-10 18:28:17 -07:00
Alexander Brock
26ae65ec9e Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-06-10 13:23:33 +02:00
Lawrence37
c07a6e8901 Merge pull request #6641 from Lawrence37/tone-equalizer
Global tone equalizer
2023-06-09 21:15:58 -07:00
Desmis
be2d5ce11f Local adjustments - denoise improvments (#6705)
* Init improvment LA denoise

* First display luma chroma residual noise

* Clean code denoise iplocallab.cc

* Change windows.yml with old version january 2023

* Clean code - change calculation denoise - GUI

* Improve labels tooltip denoise

* Clean code

* Change tooltip

* Set auto denoise - main - chroma auto to 50%  when LA denoise is used

* Change GUI denoise with expanders

* Change labels

* Change reference remianing noise in percentage

* Change tooltip and labels

* Change values in preview remaining noise

* Clean comment code - chnage tooltips

* Change windows.yml and appimage.yml publish_pre_dev labels

* Update windows.yml

* Restore windows.yml

* Restore windows.yml and clean code

* Revert change Noise Reduction link with Local denoise

* Revert all changes on Noise-reduction linked with Local adjustments
2023-06-05 06:40:57 +02: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
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
Alexander Brock
e1a3fe0656 Change default scale to 1 2023-05-02 00:49:37 +02:00
Pandagrapher
3120aea7dd Improves cursor hotspot location management 2023-05-01 11:18:07 +02: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
Pandagrapher
f7c25b18af Merge with 'Beep6581/dev' 2023-04-29 11:24:55 +02:00
Pandagrapher
23be310029 Fixes issues following merge with 'dev'
- External Editor: App icon not correctly managed in RTImage
- Favorite preferences: Fixes widget sizes
- Other fix: With some versions of Glib/Glibmm library on MacOS, Glib::KeyFile "load_from_file" function does not raise a Glib::Error but another exception. This causes crash opening preferences panel due to missing dynamic profiles configuration
2023-04-29 11:06:58 +02:00
Alexander Brock
2ad61ba4bb Merge branch 'dev' of https://github.com/Beep6581/RawTherapee into defish 2023-04-28 10:24:13 +02:00
Lawrence Lee
1f8e2aaf55 Merge branch 'dev' into metadata-exiv2 2023-04-19 21:14:54 -07:00
Lawrence Lee
1eb58255ce Merge branch 'dev' into tone-equalizer 2023-04-15 16:58:52 -07:00