Created
          December 12, 2015 21:51 
        
      - 
      
 - 
        
Save jbroadway/a42c5120352dead5ea99 to your computer and use it in GitHub Desktop.  
    Examples of commands for resizing and tiling images using ImageMagick
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | # Crop all pngs to 192x192 offset to 348x55: | |
| mogrify -crop 192x192+348+55 +repage *.png | |
| # Tile them all into one sprite sheet: | |
| montage *.png -geometry 192x192 -tile 5x5 -background none ../sprite_sheet.png | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment