Skip to content

Instantly share code, notes, and snippets.

@elmundio87
Created June 3, 2019 14:31
Show Gist options
  • Save elmundio87/20df2be9fcc05b36dca11f3b2dc0ba53 to your computer and use it in GitHub Desktop.
Save elmundio87/20df2be9fcc05b36dca11f3b2dc0ba53 to your computer and use it in GitHub Desktop.
find *.png -exec magick "{}" -alpha discrete -channel rgb -evaluate add 100% +channel "{}" \;
@elmundio87
Copy link
Author

This requires imagemagick to be installed and available on the PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment