Mobile app version of vmapp.org
Login or Join
LarsenBagley460

: Batch script to resize height of all layers to same height but keeping their original aspect ratio I have hundreds of product image layers and I am trying to resize them all to the same height

@LarsenBagley460

Posted in: #AdobePhotoshop #BatchProcessing #PhotoshopScripting

I have hundreds of product image layers and I am trying to resize them all to the same height (ignoring the width) and retaining their individual aspect ratio's.

Is there a script available that does this? Or a feature I am unaware of?

Thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @LarsenBagley460

1 Comments

Sorted by latest first Latest Oldest Best

 

@Debbie163

What you are trying to do can be done with actions and batch.


(1) Go to your actions tab (Window>Actions if its not already on your workspace).
(2) (a.) Create a new action set. (b.) Create a new action.
(3) Rename it and hit record.
(4) Your action should be recording.
(5) Change your image size:
You will first want to check your resolution to make sure each image is the same, otherwise if you combine your images into the same document, they will still be different sizes.
(c.) Make sure your aspect ratio is locked. And change your height dimensions.
Click ok.
(6) (d.) Go back to the action panel and press stop (Square button to the left of the record)




Now you can do a batch automation.


(1) Go to File>Automate>Batch
(2) Make sure your new action is selected. Chose your source folder (The location of the images you wish to change)
You can just save the document and close or chose a new destination folder.
Now you can just let it do its thing.




I'm not sure what you meant by image layers though. (It sounds like you are talking about layers in a particular document??)
Above, I'm assuming you have a folder full of images of all different dimensions and want to resize them so that every image is height = x.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme