Interactive mode giving different result

Moderator: Kathy_9

Post Reply
PromZA
Posts: 21
Joined: Fri Aug 25, 2023 6:05 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: Paintshop Pro 2019

Interactive mode giving different result

Post by PromZA »

Has anybody encountered a situation where choosing interactive mode gives a different final result? I have a script that does a few effects and layer adjustments, it works fine up to this point. The next step applies a "Night effect" under "Film and filters". It seems to apply it twice, once for the preview and once for the effect and every time you deselect and select the preview it applies it again instead of removing the preview. Skipping the command at this point gives the correct result but the preview is still applied so you can't actually skip the command in interactive mode. I'm using PSP 2019.
JoeB
Posts: 2778
Joined: Fri Mar 28, 2008 10:04 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: LENOVO 4524PE4 ThinkCentre M91p
processor: 3.10 gigahertz Intel Quad Core i5-2400
ram: 8 GB
Hard_Drive_Capacity: 4.6 TB
Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
Location: Canada

Re: Interactive mode giving different result

Post by JoeB »

If you post the script as a zip file perhaps our residen script guru @LeviFiction could figure out the issue.
Regards,

JoeB
Using PSP 2019 64bit
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Interactive mode giving different result

Post by LeviFiction »

Nope, this is just a regular old bug.

The best I can offer is you can force the command to turn the "AutoProof" feature off and use the standard tiny previews to judge the effect. But it'll still apply the effect even if you cancel. So it's not even an effective work-around if you want someone to be able to skip the command. You can see the parameters in the example below. "PreviewVisible" which turns the preview "Before" and "After" images in the dialog is set to "True" so it starts with those open. And "AutoProof" which is what they call the live preview on the canvas is set to False to turn it off.

Code: Select all

    # PhotoLooks
    App.Do( Environment, 'FilmAndFilters', {
            'Density': 30, 
            'Color': (44,86,132), 
            'Film look': App.Constants.PhotoLookEffect.EffectNone, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'DialogPlacement': {
                    'ShowMaximized': False,
                    }, 
                'PreviewVisible': True, 
                'AutoProof': False, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((25,0,0),1), 
                }
            })
Of course if you wanted to you could learn TKinter and re-create the UI for Film and Filter effect.
https://levifiction.wordpress.com/
PromZA
Posts: 21
Joined: Fri Aug 25, 2023 6:05 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: Paintshop Pro 2019

Re: Interactive mode giving different result

Post by PromZA »

Thanks. That does solve the issue of applying it twice. I was just fiddling with the script to try out different options without doing it manually and noticed it gave a different result and didn't intend for anyone to run it in this mode. So I'm wondering is this also present in the later versions? If so why has it not been fixed seeing it's the only command I know that does this and is there a bug report?
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Interactive mode giving different result

Post by LeviFiction »

No idea if there is a bug report and it does exist in 2023, it's possible it wasn't caught and reported.
https://levifiction.wordpress.com/
Post Reply