Resize all images in directory


/ Published in: Bash
Save to your folder(s)

* Resized images are generated into TARGET_DIR.
* Change the resolution (800x800 in my example) and quality (80) as you want.
* The command keeps the image's proportion. 1600x1200 will be converted into 800x600, 1200x1600 into 600x800.

_Notice_: the command does also resize images in sub-directories but put them in the same target directory (overwrites any existing file).

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.