Return to Snippet

Revision: 29541
at August 1, 2010 06:44 by abhiomkar

Updated Code
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/{} \;

Revision: 29540
at July 31, 2010 07:33 by abhiomkar

Initial Code
find . -maxdepth 1 -iname '*jpg' -exec convert -define jpeg:size=200x200 {} -thumbnail 100x100^ -gravity center -extent 100x100 thumb/{} \;

Initial URL

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

Initial Title
Generate Thumbnails with all same resolution (Cropped)

Initial Tags
resize, image

Initial Language