Can I Automate Adding Borders to 70 Images?

Moderator: Kathy_9

Post Reply
jdanniel
Posts: 13
Joined: Sat Aug 18, 2012 6:32 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 32 Bit

Can I Automate Adding Borders to 70 Images?

Post by jdanniel »

Hello, I am using version X4, which I am new to, having bought it just a week ago.

I have approximately 70 jpg images I'd like to add borders to. All of the images will have the same color and thickness.

Is it possible to create some sort of batch process that automatically adds borders to all 70 images? Right now, I've been adding borders one-by-one to the images. It got tedious after the first dozen.

If there is a way to automate the procedure? If so, what must I do? If it's possible, will all 70 images be re-saved automatically, as well?

Thank you for your assistance. J. Danniel
jdanniel
Posts: 13
Joined: Sat Aug 18, 2012 6:32 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 32 Bit

Re: Can I Automate Adding Borders to 70 Images?

Post by jdanniel »

I think I figured it out.

I open an image, and start recording a script.

I then go into Add Borders, add a border to the image, and save it. I then select Close. Then, I save the script. I name the script AddBorders.

Once the script is recorded, I go into Batch Process. I select Use Script, and then locate the AddBorders script.

I then go into Browse and select the files I want to add borders to. I run the script, and voila. I tried this with four test images. Next, I'm going to copy the 70 images into a new folder, and select them. I'll run the script and see if the copies of the images have borders. If they all look good, then I'll run the script on the original images, and hopefully that will work. Let's hope it does.
User avatar
hartpaul
Advisor
Posts: 2893
Joined: Tue Mar 20, 2012 3:38 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK P7P55D STRIX B240F GAMING
processor: IntelCore i7 7700 3.60 Ghz
ram: 8 Gb
Video Card: Nvidia GeForce GTX 1050
sound_card: Nvidia High Definition Audio
Hard_Drive_Capacity: 1000 Gb
Monitor/Display Make & Model: AOC
Corel programs: PSP8,X2 to X9,2018,2019,2020
Location: Australia

Re: Can I Automate Adding Borders to 70 Images?

Post by hartpaul »

Congratulations on finding the power of scripts and explaining it so well for others.
After this you will quickly make a script for any or most repetitive actions you have to do for a number of images.
If there is some slight variations you can run the script in non silent mode (toggle execution mode button) and make slight variations as required.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
Post Reply