Commit Graph

3833 Commits

Author SHA1 Message Date
Desmis
eb8f121709 Add ability to export to an external editor within the same folder as the original file - issue 6195 (#6232)
* import and change the art code -thanks to Alberto

* Possible fixed for white space in folder

* Added verbose when white-space

* Replace WS only if windows and Gimp

* Fixed Windows and Gimp bug for external editor - thanks to Lawrence37

* Fix LGTM alert for reused variable name

Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
2021-05-13 12:41:22 +02:00
Thanatomanic
fa2776c732 Remove double include 2021-05-13 12:41:01 +02:00
Thanatomanic
bb623d3a02 Fix instance of deprecated HBox 2021-05-13 12:34:27 +02:00
Desmis
3cb6e88ea4 Harmonize GUI for Scope - Retinex and Dehaze 2021-05-11 13:27:04 +02:00
Lawrence Lee
77ea6d92cb Pin inspector whenever scrolling or zooming 2021-05-09 12:31:26 -07:00
Lawrence Lee
6535cb4a94 Make inspector never upscale in fit-to-window mode
When zoomed completely out, don't upscale images.
2021-05-09 12:18:06 -07:00
Lawrence Lee
9df34be6cb Hide inspector accelerator in film strip
Only show the accelerator key in the context menu when opening the menu
from the full file browser but not the film strip.
2021-05-08 12:15:58 -07:00
Lawrence Lee
36cb32b31b Make inspector window size consistent 2021-05-08 11:48:18 -07:00
Lawrence Lee
b2988ddbb3 Avoid reopening inspector window when being opened 2021-05-07 22:26:28 -07:00
Pandagrapher
1c9d1f522c Locallab - Fix bad syntax in LocallabParamsEdited vector resize 2021-05-07 18:47:14 +02:00
Lawrence Lee
9495c049c4 Fix inspector not opening full-screen at first 2021-05-06 21:39:01 -07:00
Desmis
980a16abb0 Improve ciecam16 Log encoding (#6228) 2021-05-04 13:54:12 +02:00
Desmis
f22482c204 Local adjustments - Strength control on Spot - tools - issue 6221 (#6223)
* Add strength to local contrast and wavelet

* Added strength to Color and Light

* Added strength to Denoise

* Added strength to shadows highlight Tone equalizer

* Added strength to Dynamic Range and exposure

* Added strength to Tone mapping

* Small improvment to Dynamic Range
2021-05-04 07:27:55 +02:00
Lawrence Lee
70d30a5050 Fix crash after pressing f key in file browser
Check that the inspector window exists before trying to close it.
2021-05-02 15:57:34 -07:00
Lawrence Lee
bce88478c4 Fix inspector window rendering with device scaling 2021-05-02 15:50:55 -07:00
Lawrence Lee
de9403f9fe Ignore key down repeat events in inspector window
Ignore key press events that happen when a key is held down.
2021-05-02 12:52:15 -07:00
Lawrence Lee
4811f92c39 Add missing return statement 2021-05-02 12:35:05 -07:00
Lawrence Lee
b99b9302cc Fix inspector window scaling with caps lock
When launched with the accelerator key, the inspector window initially
scales the image without respecting the state of the caps lock. This
commit fixes the bug.
2021-05-02 12:31:33 -07:00
Lawrence Lee
e25cb3fde0 Fix inspector window panning speed
Consistently use integers for mouse movement and compensate for image
scale.
2021-05-01 15:52:45 -07:00
Lawrence Lee
5decec5405 Fix inspector window zoom centering
Use floating point coordinates instead of integers to avoid rounding
errors.
2021-05-01 15:52:13 -07:00
Lawrence Lee
900af7aeb7 Remove drawn background in inspector window
Add "InspectorWindow" CSS ID so that the background color can be changed
through CSS.
2021-04-25 18:11:47 -07:00
Lawrence Lee
d4bceb5c06 Pin inspector window if opened with context menu 2021-04-25 17:27:57 -07:00
Lawrence Lee
67e18b5c53 Fix inspector window sometimes not hiding
When the f shortcut is quickly pressed, the inspector window will
sometimes open and remain open even though it should automatically
close. This commit ensures the window closes by capturing the f key
release event from the main window in addition to the inspector window.
2021-04-25 17:05:02 -07:00
Lawrence Lee
61aba8ad08 Set inspector window title from language files 2021-04-25 15:48:29 -07:00
Lawrence Lee
58995a052d Properly enable inspector window for film strip 2021-04-25 15:44:49 -07:00
Desmis
53bb6e41bb LA other bad behavior Duplicate spot when spot outside preview 2021-04-22 07:15:28 +02:00
Desmis
f47f23a4dc LA - Duplicate full image size whole image - issue 6200 2021-04-21 10:32:51 +02:00
Lawrence Lee
d9fe87569d Cache most recent send-to-editor temp file
Caches the name of the most recently generated temporary file used for
exporting to external editors and uses that file if the processing
parameters are identical and the file exists. This can dramatically
improve speed when exporting to multiple different editors.
2021-04-18 17:23:40 -07:00
Lawrence Lee
e6b2c9e7b0 Make options ignore empty custom editor command 2021-04-18 12:33:32 -07:00
Lawrence Lee
044451868a Add missing parenthesis 2021-04-17 22:11:17 -07:00
Lawrence Lee
927e9500ff Change GUI to support multiple external editors
Replace radio selector in external editor section of preferences with
external editor preferences widget. Replace send-to-GIMP button with
pop-up button for exporting to a selectable application.
2021-04-17 12:55:17 -07:00
Lawrence Lee
349ceb9336 Add function for opening images with Gio::AppInfo 2021-04-12 21:53:04 -07:00
Lawrence Lee
3efbb99ba9 Make MyImageMenuItem constructable from an RTImage 2021-04-12 21:48:54 -07:00
Lawrence Lee
be7aecac40 Add multiple external editors to options 2021-04-11 18:24:39 -07:00
Lawrence Lee
f30f094a6c Improve pop-up common with gicons and item ops
Add ability to use gicon images, insert pop-up entries in any location,
and remove entries.
2021-04-10 17:41:33 -07:00
Lawrence Lee
afe20fee0e Add Gio::Icon based RTImages 2021-04-04 22:16:16 -07:00
Desmis
128de03aed Local adjustemnts - adapt various parameters to fit labels in right tool panel issue #6153 (#6160)
* Various change to fit label in left tool panel

* Increase size left panel from 460 to 465

* Various improvment to reduce size left panel

* Others changes to reduce left panel labels

* Increase default size right panel

* Set right panel ajustable to size font

* Others small changes to mask

* Others small modifications

* change a litlle GUI - curveeditorgroup.cc - suppress curves u=in mask and reduce size right panel

* Added : to various curves label

* Others : labels curves

* Some adjustments labels sizefonts

* Change 2 forgotten length labels in denoise

* Others improvments labels

* Others labels change for retinex

* Others change labels - thanks to Wayne Sutton

* French change label length

* Change labels Wavelet levels - LA retinex - LA color and lights - and others

* Other change to mask blur

* Change box - Flowbox - thanks to Beep6581

* Adapt size box basic..advanced with size font

* Restore curveditorgroup : - change some labels and tooltips

* Remove some ':' - change and adapt labels tooltip wavelet levels

* Change flowbox for complexity under label

* Restore right panel and options to default values

* Change a label in wavelet level denoise

* Change in mask curves L(L) by L C(C) by C

* Small change labels denoise to fit in width right panel

* Others changes to GUi and labels to fit in right panel

* First change tooltips and french

* Second change tooltips

* Change tooltip mask denoise
2021-04-02 07:36:42 +02:00
Lawrence Lee
d2a280fbf3 Update language file and cmake list
Update for the external editor preferences widget.
2021-03-30 21:45:20 -07:00
Lawrence Lee
453fb961f2 Create a preferences widget for external editors
The widget is intended to be embedded in the preferences dialog. It
displays a list of external editors using an icon, name, and command for
each editor. The name and command can be edited. Editors can be added,
removed, and rearranged. A button allows one to set an editor's
information by selecting from a list of installed applications.
2021-03-28 18:12:47 -07:00
Desmis
717948cf09 Local adjustments - Normalize luminance - improvment Preview TM - Retinex - Remove D.Range (#6185)
* Enable dynamic range - settings normalize luminance

* Change range DR sigma offset

* improve normalize_mean_dt with mean std before

* Save work on normalize dynamic range

* Improve normalize for TM

* Added LA retinex to normalize_mean

* Clean and optimize code

* Disabled normalize DR - improve TM and Retinex

* Clean code - first part

* Clean code - part two

* Change 2 default values Retinex

* Change order TM and Retinex in process

* remove the order number in - add tool to current spot -

* Fixed bug in TM

* Some change Retinex - default...

* optimize mean sigma

* cleanup for mean_sig

* Fix some cppcheck issues

* convert one large loop into three loops to avoid performance penalty on machines with 4-way L1 cache

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
2021-03-28 12:55:29 +02:00
Ingo Weyrich
871d35c228 Favorites Tab: rawBayerExposure in X-Trans, fixes #6182 2021-03-24 11:05:11 +01:00
Desmis
3ad786745c LA - Move colortoning labgrid from rgb to lab - issue #6132 (#6173)
* Move colortoning labgrid from rgb to lab

* Remove unnecessary variables
2021-03-23 16:59:54 +01:00
Desmis
170df03933 LA - Simplify GUI - Dynamic range 2021-03-19 16:58:49 +01:00
Desmis
537fa73d3f Local adjustments - Log encoding - Ciecam16 ContrastJ - contrastQ - contrast threshold (#6169)
* Added contrast threshold Log encoding

* Improve contrast threshold

* Chanhe tooltip

* Change sign threshold when contrast negative

* Another change threshold with contrast Q and J
2021-03-15 07:57:25 +01:00
Desmis
227ae487d4 LA and Shadows-Highlight main - change location shadows-highlight in Lab issue 6163 (#6164)
* Change location shadows-highlight in Lab

* Suppress unused variable

* Small change in improccoordinator.cc
2021-03-13 07:17:42 +01:00
Ingo Weyrich
bb08b6bed8 Raw black points: Green2 Does not change color when click button restore value to 0, fixes #6165 2021-03-09 13:11:51 +01:00
Desmis
0170305906 Local contrast - Try to solve bug issue #6132 (#6134)
* Try to solve bug issue 6132

* Refine placement localcontrast in pipeline
2021-03-08 08:29:57 +01:00
Desmis
9b2e955dc9 LA improve behavior full image issue 6161 2021-03-08 08:00:35 +01:00
Lawrence Lee
f958074d9b Fix crash when deleting spot removal spot
Deleting a spot while hovering over one of the circles for adjusting the
radius or feathering could trigger a crash. This is because immediately
after deleting a geometry object, EditSubscriber::getCursor is given an
object ID based on old data, causing the spot tool to attempt to get
information about the deleted geometry object.

This commit fixes the issue by returning the default cursor if the
active spot is -1. It works because the active spot is set to -1 when
deleting a spot, and there is no need to use a special cursor when there
is no active spot.

A better long-term solution would be updating the geometry data before
calling EditSubscriber::getCursor.
2021-03-07 11:58:36 -08:00
Lawrence Lee
10b5f65b30 Fix spot removal enable/disable history message
The history panel was showing "HISTORY_MSG_1049".
2021-03-06 21:29:56 -08:00