Batch processing on Perfectly Clear?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
joe1512
Posts: 22
Joined: Wed Oct 16, 2013 6:13 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit

Batch processing on Perfectly Clear?

Post by joe1512 »

I finally got mine to work...it only seems to work in the 32bit version of PSPX6. Not the 64 bit version. Maybe I overlooked this tidbit in the docs somehow?

Anyways, I am trying to do batch processing but it only seems to work if I use one picture at a time....sometimes two. Any more than that and it locks up. PSPX6 goes into endless Waiting mode and it gets stuck.

In TaskMgr I see that there are spawned about 10 or so Script processes so I assume one of them is stepping on the other via shared memory or something.

I tried making my own Perfectly Clear script from the History/Recording but it didn't behave any differently.

Also, I can't seem to get PerfClear to execute without popping up the GUI. In other words, a mode where it will just accept the defaults and return. Any ideas there?

I swear, Im gonna have to move my pics to my freaking Phone so I can run Perfectly Clear on them. (wife takes toooons of shots that she wants 'processed').
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: Batch processing on Perfectly Clear?

Post by LeviFiction »

I don't have perfectly clear installed on my system so I can't promise this will work at all. Also, depending upon the data sent to the plugin this may produce unwanted results. But all commands have a "silent" option to them that lets you run the command without interaction.

In the Batch Process dialog you select the "Silent mode" check box.

Or

Open your script in an editor. Find the plugin call and you will see a "General Settings" section. You're looking for the ExecutionMode which is currently set to Default. Set it to "Silent" here is an example

Default

Code: Select all

    # KPT Collection_KPT Blurrrr
    App.Do( Environment, 'KPT Collection_KPT Blurrrr', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((15,0,0),1)
                }, 
Silent

Code: Select all

    # KPT Collection_KPT Blurrrr
    App.Do( Environment, 'KPT Collection_KPT Blurrrr', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Silent, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((15,0,0),1)
                }, 
--------
As for why it would crash if used on more than one image. There is the small possibility that it's because batch processing works too quickly. It opens and image, edits it, saves the result and moves on. If it's still unloading the plugin after its first use and then the plugin gets called again this could cause issues. Then again I'm only guessing here, this could be way off.

One option you might consider is learning python and forcing a five to 10 second pause after a plugin call to give the plugin time to unload before moving onto the next image.
https://levifiction.wordpress.com/
rondo
Posts: 268
Joined: Fri Jun 06, 2014 9:51 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte
processor: Intel I5 6600k 3.5 GHz
ram: 16 GB
Video Card: Nvidia 1060
sound_card: creative x-fi
Hard_Drive_Capacity: 2TB
Monitor/Display Make & Model: Asus ProArt
Corel programs: PSP X6, X9, Aftershot Pro 3, Painter

Re: Batch processing on Perfectly Clear?

Post by rondo »

I've noticed that these hangs occur when batch processing images using any plugins. I often use Topaz plugins, and it processes the first image and then hangs and locks up PSP. Even using PSP's built in copy and apply settings from one image to another will do this if a plugin is used, whether Perfectly Clear or others.

I brought this to the attention of Corel PSP developers in the Corel Your Way Forum last year, and they were supposed to be looking into it but I heard nothing back. To be able to do batch processing in PSP with plugins would make it shine and make it more competitive with Photoshop. Many issues like this haven't been dealt with by Corel due to their shuffling around their management and development teams, and rushing to get out a new version on their timetable each year.

I've gotten responses and promises (though that's all) by posting issues on their Facebook page.
Post Reply