News for hackers. Stuff that matters.
Re:Show HN: Using SVG to Shrink Your PNGs by schmich on Thursday January 22, 2015 @04:18PM (#8931809)
Our team used pngquant (http://pngquant.org/) recently to reduce complex, high-res PNGs to about 33% of their original size. It gave us the size benefits of lossy compression while retaining the PNG alpha channel. It seems to be good enough to tide us over until WebP gains traction (not holding my breath).
Re:Show HN: Using SVG to Shrink Your PNGs by tracker1 on Thursday January 22, 2015 @11:11PM (#8933359)
IIRC, you're limited to 256 colors total (including those with an alpha channel)... it works pretty well, but it really depends on the picture in question. I use pngquant all the time myself... :-)
Re:Show HN: Using SVG to Shrink Your PNGs by ashmud on Friday January 23, 2015 @09:29AM (#8934961)
Color quantizer (http://x128.ho.ua/color-quantizer.html) lets you use up to 12-bit (4096 colors). For command line, the author has TruePNG (http://x128.ho.ua/pngutils.html).
Re:Show HN: Using SVG to Shrink Your PNGs by mark-r on Friday January 23, 2015 @10:59AM (#8935457)
That's interesting, since there isn't a 12-bit PNG format. Do they leave it in 24 bit then, and just rely on better compression due to fewer unique bit combinations?
Re:Show HN: Using SVG to Shrink Your PNGs by ashmud on Friday January 23, 2015 @02:18PM (#8936666)
It looks that way. Irfanview reports 24bpp for images saved when I selected > 256 colors in CQ.