haystack / tipsy

A new project to encourage pay-what-you-want support for any web site.
http://tipsy.csail.mit.edu/
MIT License
31 stars 9 forks source link

Zopfli compressed image resources #108

Closed da2x closed 7 years ago

da2x commented 7 years ago

Lossless image compression. Reduces download size and memory footprint.

For future reference: ls *.png | xargs -P5 -i% zopflipng --iterations=500 -y '%' '%'

25–60 % savings.

tbranyen commented 7 years ago

Awesome, I'll merge this since it doesn't change any code.

da2x commented 7 years ago

P.S. I did visually inspect the images. No corruption. Not that I’ve ever had a problem with zopflipng except that one time my laptop ran out of battery as the tool was writing the new file to disk. :package:

tbranyen commented 7 years ago

Awesome, I skimmed through and they all looked good to me.

rht commented 7 years ago

For the record: the space saving is from 527.8 KiB to 397.6 KiB (24.67% overall, uncompressed).