openela / openela.org

https://openela.org
BSD 3-Clause "New" or "Revised" License
26 stars 16 forks source link

Reduce PNG file size by about 30% using zopflipng 1.0.3 (losslessly) #25

Closed hartwork closed 7 months ago

hartwork commented 7 months ago

Same as https://github.com/openela/branding/pull/2 except for this repository.

# find . -type f -name \*.png -exec zopflipng -y {} {} \;
Optimizing ./static/images/favicon.png
Input size: 18674 (18K)
Result size: 15273 (14K). Percentage of original: 81.788%
Result is smaller

Optimizing ./static/images/openela-imports.png
Input size: 674446 (658K)
Result size: 337465 (329K). Percentage of original: 50.036%
Result is smaller

Optimizing ./static/images/illustrations/git-forge.png
Input size: 192081 (187K)
Result size: 135096 (131K). Percentage of original: 70.333%
Result is smaller

https://github.com/google/zopfli

CC @dirkmueller