ref: PWP 8.0 v8-0-35
Internal error: zoom factor = 0
1) Open an image [48-bit]
2) Add a Splitter
3) Create a mask with Masks in Branch 2
4) Attempt to open Multi Color Balance in Branch 1
.
...den...
Internal error: zoom factor = 0
Moderator: jsachs
Re: Internal error: zoom factor = 0
Not seeing this here - does it matter what kind of mask you created? Does it happen all the time for you?
Jonathan Sachs
Digital Light & Color
Digital Light & Color
-
- Posts: 861
- 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: Internal error: zoom factor = 0
This occurs consistently for me with the following resulting script after OK-ing the multiple error dialogs:
-------------------------------------------------------------------------------------------------
script 1.0
PWP_Version ″Picture Window Pro 8.0.35″ saved ″15-January-2020 12:32:14″
color_management enabled 1 on_mismatch 0 on_batch_mismatch 1 acs_profile ″sRGB Color Space Profile.icm″ gray_acs_profile ″Gamma 2.2.icm″ wcs_profile ″sRGB Color Space Profile.icm″ gray_wcs_profile ″Gamma 2.2.icm″ monitor_curves_file ″″ monitor_curves_enabled 0
image index 1 caption ″aDSCF2324-0-HDR(3)2431_Default v3 .tif″ saved_as ″″ saved_on ″″ parent -1 bypass -1 same_size 0 size_specific 0 breakpoint 0 n_inputs 0 n_masks 0 command ‴file_open 0 n_files 1 current 0 from_default 0 multiple 0 file1 ″″ time1 ″″‴
end_image
splitter index 2 parent 1 n_branches 2 caption ″Splitter″
side_branch index 4 parent 2 branch_number 1 caption ″Branch 2″
image index 5 caption ″Masks″ saved_as ″″ saved_on ″″ parent 4 bypass 0 same_size 1 size_specific 0 breakpoint 0 n_inputs 0 n_masks 4 command ‴masks 0 amount1 -1 -1 0 0 ″Mask 1: ″ ″Mask 1″ amount2 -1 -1 0 0 ″Mask 2: ″ ″Mask 2″ amount3 -1 -1 0 0 ″Mask 3: ″ ″Mask 3″ amount4 -1 -1 0 0 ″Mask 4: ″ ″Mask 4″ display 2 sync_scroll 1‴
mask base_image 5 mask_number 0 base_input_index -1 initial_image -1 initial_mask_index -1 initial_level 0 caption ″Mask 1″ command ‴mask 0 nx 4575 ny 2573 mask_color 0 mask_transparency 2 initial_level 0 n_op 2 command1 operation 1 mask_mode 0 mask_operation 1 coords -0.02 1.1201 1.0127 0.5864 command2 operation 9 mask_mode 2 mask_operation 9 channel 0 curve 2 2 143 0 180 255 ‴
end_image
side_branch index 3 parent 2 branch_number 0 caption ″Branch 1″
image index 6 caption ″Multi Color Balance″ saved_as ″″ saved_on ″″ parent 3 bypass 0 same_size 1 size_specific 0 breakpoint 0 n_inputs 0 n_masks 1 command ‴multi_color_balance 0 npts 4 white 2 black 2 white_threshold 0 black_threshold 0 probesize 1 curpt 2 amount 0 1 0 0 ″Amount: ″ ″Mask″ display 2 sync_scroll 1 auto_preview 1 enable1 1 inconsistent1 0 src1 0 dst1 0 enable2 1 inconsistent2 0 src2 c4b8b3 dst2 b7b7b7 enable3 1 inconsistent3 0 src3 e6e2e1 dst3 e2e2e2 enable4 1 inconsistent4 0 src4 fefefe dst4 ffffff‴
mask base_image 6 mask_number 0 base_input_index -1 initial_image 5 initial_mask_index 0 initial_level 0 caption ″Mask″ command ‴mask 0 nx 4575 ny 2573 mask_color 0 mask_transparency 2 initial_level 0 n_op 0 ‴
end_image
end
---------------------------------------------------------------------------------------------------
800px jpg start image version: .
...den.
-------------------------------------------------------------------------------------------------
script 1.0
PWP_Version ″Picture Window Pro 8.0.35″ saved ″15-January-2020 12:32:14″
color_management enabled 1 on_mismatch 0 on_batch_mismatch 1 acs_profile ″sRGB Color Space Profile.icm″ gray_acs_profile ″Gamma 2.2.icm″ wcs_profile ″sRGB Color Space Profile.icm″ gray_wcs_profile ″Gamma 2.2.icm″ monitor_curves_file ″″ monitor_curves_enabled 0
image index 1 caption ″aDSCF2324-0-HDR(3)2431_Default v3 .tif″ saved_as ″″ saved_on ″″ parent -1 bypass -1 same_size 0 size_specific 0 breakpoint 0 n_inputs 0 n_masks 0 command ‴file_open 0 n_files 1 current 0 from_default 0 multiple 0 file1 ″″ time1 ″″‴
end_image
splitter index 2 parent 1 n_branches 2 caption ″Splitter″
side_branch index 4 parent 2 branch_number 1 caption ″Branch 2″
image index 5 caption ″Masks″ saved_as ″″ saved_on ″″ parent 4 bypass 0 same_size 1 size_specific 0 breakpoint 0 n_inputs 0 n_masks 4 command ‴masks 0 amount1 -1 -1 0 0 ″Mask 1: ″ ″Mask 1″ amount2 -1 -1 0 0 ″Mask 2: ″ ″Mask 2″ amount3 -1 -1 0 0 ″Mask 3: ″ ″Mask 3″ amount4 -1 -1 0 0 ″Mask 4: ″ ″Mask 4″ display 2 sync_scroll 1‴
mask base_image 5 mask_number 0 base_input_index -1 initial_image -1 initial_mask_index -1 initial_level 0 caption ″Mask 1″ command ‴mask 0 nx 4575 ny 2573 mask_color 0 mask_transparency 2 initial_level 0 n_op 2 command1 operation 1 mask_mode 0 mask_operation 1 coords -0.02 1.1201 1.0127 0.5864 command2 operation 9 mask_mode 2 mask_operation 9 channel 0 curve 2 2 143 0 180 255 ‴
end_image
side_branch index 3 parent 2 branch_number 0 caption ″Branch 1″
image index 6 caption ″Multi Color Balance″ saved_as ″″ saved_on ″″ parent 3 bypass 0 same_size 1 size_specific 0 breakpoint 0 n_inputs 0 n_masks 1 command ‴multi_color_balance 0 npts 4 white 2 black 2 white_threshold 0 black_threshold 0 probesize 1 curpt 2 amount 0 1 0 0 ″Amount: ″ ″Mask″ display 2 sync_scroll 1 auto_preview 1 enable1 1 inconsistent1 0 src1 0 dst1 0 enable2 1 inconsistent2 0 src2 c4b8b3 dst2 b7b7b7 enable3 1 inconsistent3 0 src3 e6e2e1 dst3 e2e2e2 enable4 1 inconsistent4 0 src4 fefefe dst4 ffffff‴
mask base_image 6 mask_number 0 base_input_index -1 initial_image 5 initial_mask_index 0 initial_level 0 caption ″Mask″ command ‴mask 0 nx 4575 ny 2573 mask_color 0 mask_transparency 2 initial_level 0 n_op 0 ‴
end_image
end
---------------------------------------------------------------------------------------------------
800px jpg start image version: .
...den.
Re: Internal error: zoom factor = 0
I tried the script running on 8.0.35, but still not getting an error.
Jonathan Sachs
Digital Light & Color
Digital Light & Color
-
- Posts: 861
- 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: Internal error: zoom factor = 0
This may have nothing to do with Masks-Mask 1 in Branch 2...
1) open an image (48-bit)
2) Add a splitter
3) Select Branch 2 - leave blank
4) Select Branch 1 and attempt to open Multi Color Balance .
Note: Task Manager - End Process is required to close program. OK-ing the multiple error dialogs allows the Multi Color Balance transform to open with its default settings.
Not sure if 8, 16, 24 bit images are impacted.
...den...
Edit1: The posted script will run OK consistently if saved and re-loaded for me as well. The error occurs during the initial formation of the script workflow.
Also I noticed that the Preview would flash "Fit to size" for both Input and Output... ...then apparently both would zoom 1:1 with Output going blank and the series of error dialogs are generated.
1) open an image (48-bit)
2) Add a splitter
3) Select Branch 2 - leave blank
4) Select Branch 1 and attempt to open Multi Color Balance .
Note: Task Manager - End Process is required to close program. OK-ing the multiple error dialogs allows the Multi Color Balance transform to open with its default settings.
Not sure if 8, 16, 24 bit images are impacted.
...den...
Edit1: The posted script will run OK consistently if saved and re-loaded for me as well. The error occurs during the initial formation of the script workflow.
Also I noticed that the Preview would flash "Fit to size" for both Input and Output... ...then apparently both would zoom 1:1 with Output going blank and the series of error dialogs are generated.
Re: Internal error: zoom factor = 0
Sorry, still nothing -- I tried a lot of variations also.
It is possible for bugs like this to exist, especially if they depend on the prior contents of memory.
It is possible for bugs like this to exist, especially if they depend on the prior contents of memory.
Jonathan Sachs
Digital Light & Color
Digital Light & Color
-
- Posts: 861
- 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: Internal error: zoom factor = 0
Okay... apparently this was not too uncommon during alpha/beta versions with other transformations used in branches when forming a workflow... ...perhaps there is something from the past that will be of help:
Error was also reported for Color Balance: http://www.jonathansachs.me/phpbbBB3/v ... rnal+error
Error was also reported for Color Curves:
viewtopic.php?f=11&t=1709&hilit=internal+error
internal error on third side branch:
viewtopic.php?f=11&t=1640&p=7226&hilit= ... rror#p7226
Color balance, Remap, Posterize, and possibly some others generate Internal error: Zoom factor = 0 when used on a Side Branch:
viewtopic.php?f=11&t=1329&p=6474&hilit= ... rror#p6470
;-)
...den...
To be honest, I do not know how you manage to keep all this programing development evenhandedly in mind. Thank you for doing so and making your efforts available.
Error was also reported for Color Balance: http://www.jonathansachs.me/phpbbBB3/v ... rnal+error
Error was also reported for Color Curves:
viewtopic.php?f=11&t=1709&hilit=internal+error
internal error on third side branch:
viewtopic.php?f=11&t=1640&p=7226&hilit= ... rror#p7226
Color balance, Remap, Posterize, and possibly some others generate Internal error: Zoom factor = 0 when used on a Side Branch:
viewtopic.php?f=11&t=1329&p=6474&hilit= ... rror#p6470
;-)
...den...
To be honest, I do not know how you manage to keep all this programing development evenhandedly in mind. Thank you for doing so and making your efforts available.
Re: Internal error: zoom factor = 0
I do keep copies of all the sources for all the released versions, so I was able to see what change I made to fix the problem for Color Balance. I made a similar change to Multi Color Balance and it still works OK here. Whether it works there of not remains to be seen. Will upload a new version tomorrow AM.
Jonathan Sachs
Digital Light & Color
Digital Light & Color
Re: Internal error: zoom factor = 0
Jonathan, try to do the following:
1. add spliter below the top level image
2. add Multicolor Balance to the main branch
3. add Multicolor Balance to the side branch -> you (or I) get the error message
One more observation:
After that you get the error message even when you add the Multicolor Balance to the main branch of another image.
Closing all images and start with empty workspace does not help. Ypu need to restart PWP.
1. add spliter below the top level image
2. add Multicolor Balance to the main branch
3. add Multicolor Balance to the side branch -> you (or I) get the error message
One more observation:
After that you get the error message even when you add the Multicolor Balance to the main branch of another image.
Closing all images and start with empty workspace does not help. Ypu need to restart PWP.
-
- Posts: 1431
- Joined: April 25th, 2009, 12:56 am
- What is the make/model of your primary camera?: Fuji X-E2
- Contact:
Re: Internal error: zoom factor = 0
David's recipe works (as in: to get an error) here.
Maciej Tomczak
Phototramp.com
Phototramp.com