I have a folder of hi-res images. It's a mix of JPG and 24-bit transparent PNG. I want to batch-generate thumbnails with the following rules:
- each image retains its format (.jpg in, .jpg out... .png in, .png out)
- each image retains its filename but gets moved to a /thumbnails subfolder
- each image retains its current aspect ratio
- the final dimensions of each processed image should be as large as possible with these constraints:
- max image width is 488px
- max image height is 220px
- aside from scaling, each image should retain all of its other properties
I am new to ImageMagick and have no idea what command(s) I would need to run in order to achieve this result. Ultimately, this is for a Jekyll project, but I would happily settle for being able to run this process manually via command line.
Any help would be much appreciated!
if/then/else/endifcoding problems, and not how to use end-user tools. Please read Help On-topic before posting more Qs here. Good luck.