x3 how to create a "save for office" script for batch proces

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
ges74
Posts: 1
Joined: Wed Nov 07, 2012 10:38 pm
operating_system: Vista Home Premium
System_Drive: C

x3 how to create a "save for office" script for batch proces

Post by ges74 »

Folks,
I have 105 files that I would like to compress down. I have searched these forums but didn't find any threads related to my inquiry.
When I create a script to compress to 96dpi there are weird color/light artifacts in the resulting pics. When I do the "save for office" function the pics get even smaller with no artifacts.

so 2 questions:

1. what settings does the "save for office" compressor use so that I can recreate thru other means
AND/OR
2. how do i create a batch process script using the "save for office" menu item?

Thanks so much. If you have any other ways to accomplish what i'm trying to achieve here, I'd more than appreciate your thoughts.
GES
Kathy_9
Site Admin
Posts: 2896
Joined: Tue Nov 30, 2010 12:44 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: 8th Generation Intel Core i7 8700 3 20 GHz
ram: 16GB
Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2TB
Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
Corel programs: PSPX2 ~2023; Painter 2018~23
Location: USA
Contact:

Re: x3 how to create a "save for office" script for batch pr

Post by Kathy_9 »

I've never used the "save for Office" option but I just looked at it and noticed to defaults to a .png file type which could explain what you are seeing.
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
teknisyan
Posts: 2421
Joined: Wed Oct 06, 2010 4:18 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Sony Corporation VAIO
processor: Intel Corel i5
ram: 4 GB
Video Card: ATI Mobility Radeon HD 5650
sound_card: Realtek HD Audio
Hard_Drive_Capacity: 500 GB
Location: Riyadh, KSA
Contact:

Re: x3 how to create a "save for office" script for batch pr

Post by teknisyan »

ges74 wrote:Folks,
I have 105 files that I would like to compress down. I have searched these forums but didn't find any threads related to my inquiry.
When I create a script to compress to 96dpi there are weird color/light artifacts in the resulting pics. When I do the "save for office" function the pics get even smaller with no artifacts.

so 2 questions:

1. what settings does the "save for office" compressor use so that I can recreate thru other means
AND/OR
2. how do i create a batch process script using the "save for office" menu item?

Thanks so much. If you have any other ways to accomplish what i'm trying to achieve here, I'd more than appreciate your thoughts.
GES
1 - when using the "save for office" you can place a checkmark on the "ADVANCED SETTINGS" to see the different options like screen resolution, image quality, as well as file types.

2 - For this one, you can record your own script -- To do that, just follow this - http://product.corel.com/help/photopro/ ... cript.html
Like reading blogs?
About Tech
About Sports
Pnoy.Me - A URL Shortener
Follow me on Facebook & Twitter
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: x3 how to create a "save for office" script for batch pr

Post by LeviFiction »

Ah, but recording a script in PSP includes the filename that you saved it with. This makes it very hard to use properly with the batch command. And if you run it in interactive mode you then have to define the filename for all of the images. Here they mention over 105 images.

PSP's scripting options are amazing. The batch process command is useful. But for things like this they really just don't work well together without having a slight bit of programming know-how with Python and PSP.

I could easily create a script for you that would let you define a naming convention and settings to use but you would need to open the script in a text editor and do some slight editing for each batch.

This is one area I would love to see PSP really develop. Either making the batch process smarter so that if the script is saving out the files it places the determined new filename pattern or made it easier to program a script that actively updates based on the given image.

In fact if while recording a script you could enter in wild-card values that will be interpreted by the parser that alone would make things easier. Then I could save out my file as "filename_###.jpg" and the parser would use the ### in the script to start a count and autoincrement my filename for me in the script.

Resizing is another example of a simple command that doesn't work well with batch processing unless you make the script intelligent.

So if you want such a script, I can make one. Just be aware that you will have to edit it each time you want to change the values and naming pattern when using it with the batch processor.
https://levifiction.wordpress.com/
Post Reply