Color Curves -- Save Settings As...

Please use this forum to post bug reports, feature requests, tips, etc. for beta versions of Picture Window Pro 8

Moderator: jsachs

Locked
den
Posts: 856
Joined: April 25th, 2009, 6:33 pm
What is the make/model of your primary camera?: Canon EOS-350D/Fuji X100T
Location: Birch Bay near Blaine, WA USA

Color Curves -- Save Settings As...

Post by den »

...
Ref: PWP 8.0.exe 180520

The Color Curves transform "Save Settings AS..." no longer retains an Amount Mask and its black white slider settings when re-loaded.

Other transforms when used with an Amount Mask may also be affected.

Addendum... ...a quick check of previously saved workspace scripts with transformation Amount Masks are loading with 100% white Mask images.

...den...
jsachs
Posts: 4203
Joined: January 22nd, 2009, 11:03 pm

Re: Color Curves -- Save Settings As...

Post by jsachs »

The masks and amount settings are not part of the transformation settings and are only saved and restored by saving scripts. Similarly, any selected auxiliary inputs are not part of the transformation settings. As far as I know, it has worked this way since the first beta release.

I was able to save Color Curves with an amount mask as a workspace script and restore it, including the mask, by reloading the workspace script.

I did add a fix for the 21-May release that addresses this issue and tries to preserve the amount slider settings whenever possible.
Jonathan Sachs
Digital Light & Color
den
Posts: 856
Joined: April 25th, 2009, 6:33 pm
What is the make/model of your primary camera?: Canon EOS-350D/Fuji X100T
Location: Birch Bay near Blaine, WA USA

Re: Color Curves -- Save Settings As...

Post by den »

...
Seems to me that I remember that an Amount Mask script could be saved as part of the transform settings if it was used but could certainly be mistaken... ...but perhaps I am confusing script saves vs. transform setting saves.

...in any case PWP 8.0.exe 180521 does not properly execute the Amount Mask portion of the following script with *.script or *.workspace extension but PWP 8.0.exe 180401 [arbitrarily selected for test purposes] will as a *.script file...

The script:

script 1.0
color_management enabled 0 on_mismatch 0 acs_profile ″″ gray_acs_profile ″″ wcs_profile ″″ gray_wcs_profile ″″ monitor_curves_file ″″ monitor_curves_enabled 0

image index 1 caption ″DSCF1743.JPG″ parent -1 bypass -1 same_size 0 size_specific 0 n_inputs 0 n_masks 0 command ‴file_open pathname ″″ filetime ″″‴
end_image

image index 2 caption ″Color Curves″ parent 1 bypass 0 same_size 1 size_specific 0 n_inputs 0 n_masks 1 command ‴color_curves 0 curve1 2 2 0 128 255 128 curve2 5 2 0 0 18 26 89 166 204 222 255 255 curve3 2 2 0 0 255 255 colorspace 0 component 1 mask_histogram 0 amount 0 1 0 0 ″Amount: ″ ″Mask″ display 2 sync_scroll 1‴
mask base_image 2 mask_number 0 base_input_index -1 initial_image -1 initial_mask_index -1 initial_level 0 caption ″Mask″ command ‴mask 0 nx 4896 ny 3264 mask_color 0 mask_transparency 2 initial_level 0 n_op 3 command1 operation 9 mask_mode 0 mask_operation 9 channel 8 curve 6 1 0 255 28 255 36 0 240 0 247 255 255 255 command2 operation 9 mask_mode 0 mask_operation 9 channel 6 curve 4 1 0 0 210 0 230 255 255 255 command3 operation 15 mask_mode 0 mask_operation 9 ‴
end_image

end

Screenshot PWP 8.0.exe 180401:
Screenshot (2).jpg
Screenshot (2).jpg (202.2 KiB) Viewed 1861 times
Screenshot PWP 8.0.exe 180521:
Screenshot (3).jpg
Screenshot (3).jpg (199.58 KiB) Viewed 1861 times
...den...
Last edited by den on May 21st, 2018, 9:31 pm, edited 1 time in total.
den
Posts: 856
Joined: April 25th, 2009, 6:33 pm
What is the make/model of your primary camera?: Canon EOS-350D/Fuji X100T
Location: Birch Bay near Blaine, WA USA

Re: Color Curves -- Save Settings As...

Post by den »

...
Jonathan... ...for the mask in the script something is going on with the Undo-Redo for PWP 8.0.exe 180521 because if you run the script and then do an edit of the mask and select Undo you get the desired mask although it is inverted.

Let me know if you need screenshots...

...den...
den
Posts: 856
Joined: April 25th, 2009, 6:33 pm
What is the make/model of your primary camera?: Canon EOS-350D/Fuji X100T
Location: Birch Bay near Blaine, WA USA

Re: Color Curves -- Save Settings As...

Post by den »

...
Jonathan... ...apologies:
Please disregard this whole thread.

I was able generate a proper script mask with PWP 8.0.exe 180521 by updating the script as illustrated in the following illustrations: the left browser tree is the script posted above and the right browser tree is using an updated script. The highlighted script text is the difference between the old (on the right) and the new properly working script text (on the left)...
Screenshot (6).jpg
Screenshot (6).jpg (240.18 KiB) Viewed 1845 times
Screenshot (5)-1.jpg
Screenshot (5)-1.jpg (88.15 KiB) Viewed 1845 times
The revised working 180521 script:

script 1.0
color_management enabled 0 on_mismatch 0 acs_profile ″″ gray_acs_profile ″″ wcs_profile ″″ gray_wcs_profile ″″ monitor_curves_file ″″ monitor_curves_enabled 0

image index 1 caption ″color_hexagon_HSV-V=100-1-1.tif″ parent -1 bypass -1 same_size 0 size_specific 0 n_inputs 0 n_masks 0 command ‴file_open pathname ″″ filetime ″″‴
end_image

image index 2 caption ″Color Curves″ parent 1 bypass 0 same_size 1 size_specific 0 n_inputs 0 n_masks 1 command ‴color_curves 0 curve1 2 2 0 128 255 128 curve2 5 2 0 0 18 26 89 166 204 222 255 255 curve3 2 2 0 0 255 255 colorspace 0 component 1 mask_histogram 0 amount 0 1 0 0 ″Amount: ″ ″Mask″ display 2 sync_scroll 1‴
mask base_image 2 mask_number 0 base_input_index -1 initial_image -1 initial_mask_index -1 initial_level 0 caption ″Mask″ command ‴mask 0 nx 660 ny 720 mask_color 0 mask_transparency 2 initial_level 0 n_op 3 command1 operation 9 mask_mode 0 mask_operation 9 channel 8 curve 6 1 0 255 28 255 36 0 240 0 247 255 255 255 command2 operation 9 mask_mode 0 mask_operation 9 channel 6 curve 3 1 210 0 230 255 255 255 command3 operation 17 mask_mode 0 mask_operation 9 ‴
end_image

end

...den...

P.S. If of interest the above script will provide HSV-Saturation adjustments described/illustrated here: http://www.l7.org/IMAGEs_by_DEN/tutoria ... 180204.pdf
Locked