Combine two files into one via batch?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
mmreed
Posts: 9
Joined: Wed Aug 17, 2011 1:48 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit

Combine two files into one via batch?

Post by mmreed »

Hi,

I looked over the batch process options and do not see how to do this, so I am asking the gurus here... :-)

I have two files - one JPG and one PNG.
Both are the exact same size and resolution.
The PNG is transparent overlay to add what is called a nadir patch at the bottom of the JPG to cover a tripod when shooting 360 photos.

I need to take a large batch of JPGs that were shot for 360 panos, and have the PNG overlay applied and have it saved as a new file - NADIR-JPGNAME.JPG

I cannot find a way to automate this where it takes that jpg, applies the png overlay, and saves it somewhere.

Can someone offer some guidance or advice on this?
Andy2011
Posts: 115
Joined: Sun Sep 22, 2019 4:26 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte A520M S2H
processor: AMD Ryzen 5 PRO 4650G 6 Core CPU
ram: 16 GB
Video Card: Integrated Radeon Vega GPU
sound_card: on board
Hard_Drive_Capacity: 2500 GB
Monitor/Display Make & Model: BENQ GW2760HS + Benq T905 as second monitor
Corel programs: Aftershot Pro 3, Paint Shop Pro 2020
Location: UK

Re: Combine two files into one via batch?

Post by Andy2011 »

If there is just a single PNG to apply to the batch, a simple way is to use a visible watermark within the batch process. In 'Batch Process...', add the photos then select 'Watermark' from actions, tick the box and edit the choice (e.g. load named PNG, set size to 100%, 100% opacity etc.). Then select the output settings.

For a more complicated situation it is probably possible to do something with scripts (macros). A script can then be run as part of a batch process. In the past I have used a script to get the image description and shooting date from the metadata of an image and apply it as eye-readable text on a white background border underneath the original image. This was then applied to a couple of hundred jpgs.

If the overlay is a simple blurring or obscurring of a region on the jpg, this could be generated within PSP and the script isn't too difficult. It may be possible to record the script and use that. (Don't need to merge down as the batch process does that as it saves the jpg.)
If the PNG is different for each JPG, the script gets a lot harder and would have to handle the iteration through the images rather than let the batch process do it.
Knowledge is recognising that a tomato is a fruit: experience is not putting it in a fruit salad.
migf1
Posts: 510
Joined: Fri Apr 03, 2020 3:09 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit

Re: Combine two files into one via batch?

Post by migf1 »

Hi mmreed,

sounds like PSP's Watermark feature can help you here.

Here is a YouTube tutorial: https://youtu.be/NFnxQUKcQr8

The Watermark dialog does not offer precise offset adjustments, but it does offer place presets (center, tile, corner). If you make the watermark picture the same dimensions with the destination images, and you have placed the actual watermark in the exact position you want it, before saving the watermark image, then in the Watermark dialog you can select the Center preset (or any of the corner presets() and it should show at the right place.
Good Unofficial PaintShop Pro Tutorials: Creation CasselMake Shop ProHEC Image EditingLeviFiction PSP Basics
(plus my own Gimp & Stuff)
Post Reply