Skip to content

Instantly share code, notes, and snippets.

@alepez
Created April 14, 2016 09:30
Show Gist options
  • Save alepez/724cc65cdc5f472ea2e5485832baa663 to your computer and use it in GitHub Desktop.
Save alepez/724cc65cdc5f472ea2e5485832baa663 to your computer and use it in GitHub Desktop.
images before sprite matrix
convert all images to a fixed width, expanding the trasparent background. useful to create sprites
for i in ../*.png; do convert $i -gravity NorthWest -background transparent -extent 200x150 $( basename $i ); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment