Batch resize, Portrait and Landscape photos?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
tachy
Posts: 40
Joined: Fri Feb 06, 2009 9:17 pm

Batch resize, Portrait and Landscape photos?

Post by tachy »

I am new to photoshop x2 and am wondering if you can create a script for batch resizing photos of varying orientation (portrait vs. lansccape) to the same overall resultion (ex 600 X600).
If I have a bunch of photos mixed orientation, portrait and landscape and want them all reduced to 800 X 600, can this be done without rotating files first?
Tim Morrison
Moderator
Posts: 341
Joined: Wed Mar 26, 2008 3:42 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Asus P4533
processor: 3.16 GHz
ram: 2GB
Video Card: Radeon HD4650
Hard_Drive_Capacity: 2.6 TB
Monitor/Display Make & Model: HP LP2275W
Location: Australia

Post by Tim Morrison »

Download Gary Barton's "Resize to Limit" script from http://pixelnook.home.comcast.net/~pixe ... oLimit.htm.
(EDIT: Pixelnook is in the process of moving to a new site. The new address for the script is http://pixelnook.vapho.com/ResizeToLimit.htm).
There are instructions for using it in batch mode on that page, but to resize your images so that they are 800 pixels on the long side -
1. Unzip the script into your My PSP Files\Scripts-Restricted folder.
2. Open PSP and make sure the Script toolbar is showing. (View > Toolbars > Script).
3. Select "ResizeToLimit" from the drop down list of scripts.
4. By default that script will resize to 200 pixels on the long side. Click the "Edit Selected Script" icon (on the Script toolbar), and the script will open in Notepad. Near the top you will see

Code: Select all

    width = 200
    height = 200
Change them so that they are both 800.
Close Notepad and click Yes when asked if you want to save the changes.
5. Go to File > Batch Process.
6. Select your files, and the options for the location of the saved files. Check the "Use Script" and "Silent mode" options. Click "Start".
Last edited by Tim Morrison on Wed Sep 02, 2009 12:06 pm, edited 1 time in total.
Tim Morrison
C-Tech Volunteer
tachy
Posts: 40
Joined: Fri Feb 06, 2009 9:17 pm

Post by tachy »

Thanks, that looks like what I am lookin for. I assume in the instructions "incteractive mode" is the same as unchecking "silent mode" in x2?

By unchecking silent mode, is there a way to allow you to enter the limit once, or does it need to be entered for each photo, unless you run it in silent mode, and then you are stuck with whatever size the script is

And, I assume whatever you fill in does not edit the script but is only for that photo.

Also, is there a place on this forum for good scripts to download that others have made?
posnpretty
Posts: 16
Joined: Sun Aug 17, 2008 7:25 am
Location: Kentucky
Contact:

Resize to Limit script rocks!

Post by posnpretty »

Tim Morrison wrote:Download Gary Barton's "Resize to Limit" script from http://pixelnook.home.comcast.net/~pixe ... oLimit.htm.
There are instructions for using it in batch mode on that page, but to resize your images so that they are 800 pixels on the long side -
1. Unzip the script into your My PSP Files\Scripts-Restricted folder.
2. Open PSP and make sure the Script toolbar is showing. (View > Toolbars > Script).
3. Select "ResizeToLimit" from the drop down list of scripts.
4. By default that script will resize to 200 pixels on the long side. Click the "Edit Selected Script" icon (on the Script toolbar), and the script will open in Notepad. Near the top you will see

Code: Select all

    width = 200
    height = 200
Change them so that they are both 800.
Close Notepad and click Yes when asked if you want to save the changes.
5. Go to File > Batch Process.
6. Select your files, and the options for the location of the saved files. Check the "Use Script" and "Silent mode" options. Click "Start".
Wow - this was exactly what I was looking for to create hundreds of thumbnails quickly! Thanks for posting it. Too bad Corel doesn't think it's important to have this very needed batch resizing as part of Paint Shop Pro. I've never used scripting before, but found your instructions very clear and easy to do, Tim!

Thanks,
Cyndi
SnedekerDesignz
Posts: 83
Joined: Mon Jun 15, 2009 2:57 pm
operating_system: Windows XP Home
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Nvidia Geforce 8200
processor: AMD Quad Core 9850
ram: 4GB
Video Card: Nvidia Geforce 8400
sound_card: Stock
Hard_Drive_Capacity: 400GB
Contact:

Post by SnedekerDesignz »

You can always record a script, resize your image my a certian percent till it's small, save the script, and then to a batch process. I just wrote a tutorial on it here.
Visit my blog at craigps.co.nr
Post Reply