Page 1 of 1

Resize images with height greater than 720px recursively

Posted: Wed Jul 24, 2019 6:46 am
by mrmrmr1337
Hello,

My goal is to go recursively through all images in a folder and its subfolders, something like this:
/images/
/images/1/
/iamges/2/

In each directory there are images, jpg's and png's, if those images have a height greater than 720px I want to resize the image to 720px height maintaining its aspect ratio, and also clean its meta data.

I want to save each image with the same name and file extension whether it is a png or jpg, and then to replace the current image. But only convert images with a height greater than 720px.

Re: Resize images with height greater than 720px recursively

Posted: Wed Jul 24, 2019 5:27 pm
by cday
As far as I know, there is currently no way convert images selectively according to the value of a specified image parameter. :(

However, the need is requested periodically, please see this new thread:

Request: Option to 'Convert only if specified file parameter condition is satisfied'.