Compress Images using convert (ImageMagick) in a bulk

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

- lowQ/ is the output directory
- pass quality level from 1 to 100

Copy this code and paste it in your HTML
  1. find . -maxdepth 1 -iname '*jpg' -exec convert -quality 60 {} lowQ/{} \;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.