Posted By

abhiomkar on 07/31/10


Tagged

resize image crop


Versions (?)

Generate Thumbnails with all same resolution (Cropped)


 / Published in: Bash
 

URL: http://www.imagemagick.org/Usage/thumbnails/#fit

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

  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  

You need to login to post a comment.