Create a custom crop preset by aspect ratio?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
loiswakeman
Posts: 8
Joined: Tue Feb 04, 2020 1:31 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Create a custom crop preset by aspect ratio?

Post by loiswakeman »

I have several presets of fixed pixel width/height saved, but I want to create a 2x1 preset that will, like the 2x3, 4x5, square, etc, automatically resize itself to the width of the current image. Is there any way to do that?

(I can workaround by specifying pixel dimensions, but I use this aspect ratio a lot, and a preset would be neat. I could also set up similar for social media images e.g. instagram stories.)

Thanks in anticipation.
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: Create a custom crop preset by aspect ratio?

Post by LeviFiction »

Yes, it just takes a small edit of the preset once you've made it. There is a parameter called "AutoFit" that I don't know how to set inside of the UI in PSP but is a very simple thing to change in Notepad. You can do this any number of ways. I'll list two of them here.

Option 1: Create the preset directly inside of PSP
1) Open the Crop tool
2) Turn off "Maintain Aspect Ratio"
3) Set Pixel Dimensions to 200x100
4) Turn On "Maintain Aspect Ratio"
5) Click on the "Presets" button next to the checkmark button on the tool options palette
6) Click the "Save Preset" button on the drop-down and give it a name like "2 x 1"
7) Go to your Presets folder (e.g. c:\users\YourUserName\Documents\Corel Paint Shop Pro\ Your Version \ Presets
8) Open "Preset_Crop_2 x 1.PspScript" (or whatever you called it) with Notepad or a similar code editor.
9) Change the value of "AutoFit" from "False" to "True"
10) Save

Option 2: Copy and Edit an existing Preset and change the size
1) Go to C:\Program Files\Corel\Corel PaintShop Pro 2020 (64-bit)\Languages\EN\Presets (or whatever version of PSP you're using)
2) Find "Preset_Crop_Square.PspScript"
3) Copy it
4) Go to ":\users\YourUserName\Documents\Corel Paint Shop Pro\ Your Version \ Presets"
5) Paste it into this folder, and rename it from "Preset_Crop_Square.PspScript" to something like "Preset_Crop_2 x 1.PspScript"
6) Open in Notepad or a similar code editor
7) Change the 'CropRect' value from "((0,0), 100, 100)" to "((0,0, 200, 100)" <- These are pixel dimensions the last two values are width and height.
8) Save
https://levifiction.wordpress.com/
loiswakeman
Posts: 8
Joined: Tue Feb 04, 2020 1:31 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Create a custom crop preset by aspect ratio?

Post by loiswakeman »

Thank you so much - I'm off to try this now :)

Edit - works like a charm. Can't tell you how grateful I am for this timesaver!
Post Reply