Skip to content

Instantly share code, notes, and snippets.

@nuclearglow
Created February 10, 2018 00:00
Show Gist options
  • Save nuclearglow/cfe028d41f1830cf12dba48d973da48d to your computer and use it in GitHub Desktop.
Save nuclearglow/cfe028d41f1830cf12dba48d973da48d to your computer and use it in GitHub Desktop.
convert and make all pictures transparent
cd pieces
mogrify *.bmp *.png
for PHOTO in *.png
do
convert "$PHOTO" -transparent white "$PHOTO"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment