: Preserving aspect ratio in a batch with Photoshop I have a large list of images (all different sizes and aspect ratios) that need to be edited. I need to perform the following operations:
I have a large list of images (all different sizes and aspect ratios) that need to be edited. I need to perform the following operations:
Crop image to a specific aspect ratio
Resize that image to specific dimensions
Save/Compress
I tried to create an action, and perform the previous steps. The problem is, even though in the crop tool I would enter my desired aspect ratio, the action wouldn't save that ratio - it would save the actual dimensions it was cropped to. This obviously led to many odd photos being created.
How does one create an action that will preserve aspect ratio across the batch, regardless of image size?
More posts by @Candy945
2 Comments
Sorted by latest first Latest Oldest Best
I've always used: File / Scripts / Image Processor
Set your intended size and file type.
Under #4 Preferences, Run an Action that changes the Canvas size to trim your image.
If you want you can add a Save As Web event to your Action to optimize it.
See crystalpulse's answer for compression.
I generally change the file (#3) to a square, ie 300px by 300px, then trim as needed with the Canvas Size Action to trim to say 150px by 300px.
If your Aspect Ratios are vastly different, you might want to make separate batches to process, one for Vertical images, one for Horizontal images using different Actions to change the Canvas Size.
File > Automate > Fit Image
Use this to make the image scale to say 1600px x 1600px or whatever your requirements are.
So your action will something like... Crop Tool > Set aspect ratio > Crop > Fit Image. Then set that up in the Batch function, add the Save To.. Folder and Close.
As for the compress part. This might need some help outside of Photoshop.
You want an application called 'Hazel', with this you can specify things like: If there is an Uncompressed folder in 'x' folder, then compress it OR If there are files in 'x' folder, compress them and move the compressed file to 'x'.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.