[issue27461] Optimize PNGs

2016-07-07 Thread Ville Skyttä
New submission from Ville Skyttä: Running PNGs through zopflipng makes them smaller, with no drawbacks. This patch was done with zopflipng version 1.0.1 with the -m option, and decreases the in-tree total size size of all *.png by almost 100KiB. $ find -name "*.png" | xargs du -bc | tail -n 1

[issue27461] Optimize PNGs

2016-07-07 Thread STINNER Victor
STINNER Victor added the comment: Hi, The idea is interesting, but IMO it would be more efficient to contribute to Sphinx, so all documentations will benefit of smallest pictures. There is a similar tool for JPEG. Victor -- nosy: +haypo ___ Python t

[issue27461] Optimize PNGs

2016-07-07 Thread Ville Skyttä
Ville Skyttä added the comment: Sure, I plan to suggest this to sphinx as well. One corresponding tool for JPEGs is jpegoptim and its --strip-all option, but there is only ./Mac/BuildScript/resources/background.jpg in the cpython source tree (which despite of the .jpg extension appears to be a

[issue27461] Optimize PNGs

2016-07-07 Thread STINNER Victor
STINNER Victor added the comment: > there is only ./Mac/BuildScript/resources/background.jpg in the cpython > source tree (which despite of the .jpg extension appears to be a PNG file so > I don't want to touch that stuff) Oh funny, you're right: it's a PNG file :-) -- __

[issue27461] Optimize PNGs

2016-07-26 Thread Ville Skyttä
Ville Skyttä added the comment: Updated patch against tip. Before: 289426 total After: 194638 total -- Added file: http://bugs.python.org/file43896/pngs.patch ___ Python tracker

[issue27461] Optimize PNGs

2016-07-26 Thread Ville Skyttä
Changes by Ville Skyttä : Removed file: http://bugs.python.org/file43653/pngs.patch ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue27461] Optimize PNGs

2018-06-16 Thread Carol Willing
Change by Carol Willing : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://