News for hackers. Stuff that matters.
Re:Introducing the ‘mozjpeg’ Project by derefr on Wednesday March 05, 2014 @03:20PM (#7349583)
Now if only they'd do a mozpng.

(For context: libpng is a "purposefully-minimal reference implementation" that avoids features such as, e.g., Animated PNG decoding. And yet libpng is the library used by Firefox, Chrome, etc., because it's the one implementation with a big standards body behind it. Yet, if Mozilla just forked libpng, their version would instantly have way more developer-eyes on it than the source...)

Re:Introducing the ‘mozjpeg’ Project by pornel on Wednesday March 05, 2014 @04:45PM (#7350174)
There's already a "mozpng", it's called Zopfli. There's also AdvPNG which compresses PNGs with 7-zip's deflate implementation.

And if you want much much smaller PNGs, then try http://pngquant.org or http://pngmini.com/lossypng.html

Re:Introducing the ‘mozjpeg’ Project by sovok on Wednesday March 05, 2014 @07:20PM (#7350966)
Or try ImageOptim, which bundles these and other tools with a nice GUI: http://imageoptim.com/
Re:Introducing the ‘mozjpeg’ Project by nness on Wednesday March 05, 2014 @11:01PM (#7351783)
ImageOptim also bundles PNGOUT, which I find to have exceptional compression when compared to the others (but it is a bit slower)
Re:Introducing the ‘mozjpeg’ Project by csense on Wednesday March 05, 2014 @03:28PM (#7349649)
See my comment about zopfli [1] for improved png compression algorithm.

[1] https://news.ycombinator.com/item?id=7349635

Re:Introducing the ‘mozjpeg’ Project by maxst on Thursday March 06, 2014 @06:27AM (#7353084)
Mozilla already uses patched libpng (with APNG support).