Skip to content

Instantly share code, notes, and snippets.

@ayush--s
Created December 19, 2020 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayush--s/8525b662ae21010b78232a36657a6f58 to your computer and use it in GitHub Desktop.
Save ayush--s/8525b662ae21010b78232a36657a6f58 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
# convert '*.png[800x>]' main.png
for i in *.png ; do
pngquant --quality 90 --speed 1 $i --output fin/final-$i --force
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment