Skip to content

Instantly share code, notes, and snippets.

@HeGanjie
Created September 12, 2014 01:29
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 HeGanjie/da2790654e3346ba2980 to your computer and use it in GitHub Desktop.
Save HeGanjie/da2790654e3346ba2980 to your computer and use it in GitHub Desktop.
bat for pngquant, auto cover original png file (DANGEROUS)
:: http://pngquant.org/
@echo off
set path=%~d0%~p0
:start
"%path%pngquant.exe" --force --ext .png --verbose --ordered --speed=1 --quality=50-90 %1
shift
if NOT x%1==x goto start
@HeGanjie
Copy link
Author

HeGanjie commented May 8, 2020

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