Created
May 21, 2011 06:07
-
-
Save fightinjoe/984297 to your computer and use it in GitHub Desktop.
Image Magick script for creating thumbnails, then a sprite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert aasthawahi.jpg -thumbnail x256 -resize '256x<' -resize 50% -gravity center -crop 128x128+0+0 +repage -format jpg -quality 91 aasthawahi_thumb.jpg | |
montage *_thumb.jpg -geometry '+0+0' sprite.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment