Question
Create resize action to only apply to images bigger than set parameters
I need to resize a large folder of images but only resize the ones that are bigger than a specified set of dimensions. If I was scripting this it would be simple, something like this.
if image_height > x:
image_width = x / (image_height / image_width)
image_height = xI'm not sure of the process of scripting in photoshop though so, rather than fumble my way around the api for a while, is there a simpler way to do this? I was imagining creating an action that I could apply to a folder.
