Generate Thumbnails with all same resolution (Cropped)

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

Input: .jpg images of current directory\r\n\r\nOutput: the thumbnails will be generated in \'thumb\' folder

Copy this code and paste it in your HTML
  1. find . -maxdepth 1 -iname '*jpg' -exec convert {} -thumbnail x200 -resize '200x<' -resize 50% -gravity center -crop 100x100+0+0 +repage -format jpg -quality 91 thumb/{} \;


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.