I have two thousand PNG images. I need to scale up the images to place it inside the whitebox; also the edges of the images should touch the red color in any two sides (shown arrow below)
how to automate this in Photoshop? Or is there any other software?
Sample images are given below:
The output should look like this: