Skip to content

Instantly share code, notes, and snippets.

@jeremydw
Created June 23, 2017 05:55
Show Gist options
  • Save jeremydw/ebeec4a1fe7608fccba56e34fcd07460 to your computer and use it in GitHub Desktop.
Save jeremydw/ebeec4a1fe7608fccba56e34fcd07460 to your computer and use it in GitHub Desktop.
jpegoptim -f --strip-all file.jpg
optipng -force -o7 file.png \
&& advent -z4 file.png \
&& pngcrush \
-rem gAMA \
-rem alla \
-rem cHRM \
-rem iCCP \
-rem sRGB \
-rem time \
file.png file.png.bak \
&& mv file.png.bak file.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment