Batch resize rectangular images (vertical and horizontal) to 1:1 aspect ratio.
Moderator: Kathy_9
-
Corel Newbie
- Posts: 14
- Joined: Fri May 09, 2014 5:46 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Paint Shop Pro 2023
- Location: Miami USA
Batch resize rectangular images (vertical and horizontal) to 1:1 aspect ratio.
Ho does on batch resize rectangular images (both vertical and horizontal) to 1:1 aspect ratio?
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- 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 resize rectangular images (vertical and horizontal) to 1:1 aspect ratio.
Do you want to squash and stretch (distort) the image or just add a solid color border leaving the original image the same size making the whole image square but no distortion in the original image?
If you want a solid color you can use the Canvas Size to resize the canvas around your image. You would just need a script to intelligently work out the size automatically. I think this has been done before and I can look for it later when I have time
If you want to just distort the image using Resize and putting in a specific size and turning off maintain aspect ratio.
If you want a solid color you can use the Canvas Size to resize the canvas around your image. You would just need a script to intelligently work out the size automatically. I think this has been done before and I can look for it later when I have time
If you want to just distort the image using Resize and putting in a specific size and turning off maintain aspect ratio.
https://levifiction.wordpress.com/
-
Corel Newbie
- Posts: 14
- Joined: Fri May 09, 2014 5:46 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Paint Shop Pro 2023
- Location: Miami USA
Re: Batch resize rectangular images (vertical and horizontal) to 1:1 aspect ratio.
Your second option, which I tried to do but there is not batch function for canvas size that I could tell and I am using the latest version of PSP.LeviFiction wrote: ↑Wed Feb 16, 2022 10:20 pm Do you want to squash and stretch (distort) the image or just add a solid color border leaving the original image the same size making the whole image square but no distortion in the original image?
If you want a solid color you can use the Canvas Size to resize the canvas around your image. You would just need a script to intelligently work out the size automatically. I think this has been done before and I can look for it later when I have time
If you want to just distort the image using Resize and putting in a specific size and turning off maintain aspect ratio.
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- 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 resize rectangular images (vertical and horizontal) to 1:1 aspect ratio.
As I said, you need to script it. And there is a batch option for scripting.
I believe a script for this already exists so no need to make a new one. Just need to find it.
I believe a script for this already exists so no need to make a new one. Just need to find it.
https://levifiction.wordpress.com/
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- 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 resize rectangular images (vertical and horizontal) to 1:1 aspect ratio.
Alright, here it is. This is a script I've made several times. It's pretty straight forward. It adds a solid color border to any image to make it a square. The color chosen is the Foreground color in the materials palette. This can be added to a batch pretty easily.
- Attachments
-
- Squareup.zip
- (646 Bytes) Downloaded 51 times
https://levifiction.wordpress.com/
-
Corel Newbie
- Posts: 14
- Joined: Fri May 09, 2014 5:46 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Paint Shop Pro 2023
- Location: Miami USA
Re: Batch resize rectangular images (vertical and horizontal) to 1:1 aspect ratio.
Sorry for the late reply, something unexpectedly came up. Will give your option a try as soon as I get a chance. Thanks again!!!
