Mobile app version of vmapp.org
Login or Join
Candy945

: Batch resize images with different background colors My goal is to achieve the following: Batch resize images with different background colors I already use Photoshop to batch process and center

@Candy945

Posted in: #AdobePhotoshop #BatchProcessing #Resize

My goal is to achieve the following:

Batch resize images with different background colors

I already use Photoshop to batch process and center (horizontal and vertical align) 2000 different images into square 200 x 200 tiles on a white background (the images are different in size, background color, and sometimes file-type).

I can process and batch resize the images and place them on a white 200x200 tile using the batch processor and recorded 'Actions'. With transparent .png images this looks great.

Problem: Some of the images have a colored background. If an image has a colored background a white border around the image looks quite awful.

This is how the output currently looks:



How do I dynamically resize the non transparent images of different colors and sizes to 200x200 square .jpg images? I can do it manually with the color-picker but is there another option?

As you can see it is only a problem when images have a colored background.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Candy945

1 Comments

Sorted by latest first Latest Oldest Best

 

@Samaraweera207

If the images are not at 1:1 aspect ratio, you could try editing the problematic ones before you do the batch processing, to make them the right aspect ratio.

So, open one of these images, change the canvas size so the aspect ratio is 1:1 (i.e, so that the width and height are exactly the same), unlock the background layer. Add a new background layer under the graphic, and fill with the same colour as the graphic's background, flatten the layers and save.

Another possibility is Content Aware Scaling, although I don't know how well it will work on a graphic as it's generally intended for photographs.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme