Skip to content

Instantly share code, notes, and snippets.

@chibani
Created October 8, 2015 20:33
Show Gist options
  • Save chibani/05f2b20d216d540a2779 to your computer and use it in GitHub Desktop.
Save chibani/05f2b20d216d540a2779 to your computer and use it in GitHub Desktop.
Batch resize images, filling them (if needed) with white background
mogrify -resize 180x66 -gravity center -extent 180x60 -format jpg -path resized/ ./*.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment