Live data from Hacker News

Instant 8-bit alpha PNG converter

8bitalpha.com

1–10 of 27 posts

Re: Instant 8-bit alpha PNG converter

#4

Thank you a lot for the tool. I had no idea I could compress PNG so much, without loosing too much quality. I will be a heavy user of this.

To clarify, I didn't make this site, just discovered it while googling how to accomplish this without Fireworks.

The "beauty" of 8-bit png is how it degrades acceptably in IE8, IE7 and even IE6.

Try comparing a large round icon in 1-bit alpha (ie. gif) vs 8-bit alpha, it's much much better.

Re: Instant 8-bit alpha PNG converter

#7
post #5

What is the difference to using say optipng?

optipng/pngout/pnggauntlet are "only" png optimizers

this site gracefully degrades a png with 24bit alpha transparency to 8bit alpha so you don't have to settle for a gif.

I suspect they are using pngnq http://pornel.net/pngnq and pngquant http://pornel.net/pngquant

Some background here:

http://blogs.sitepoint.com/png8-the-clear-winner/

http://www.ethanandjamie.com/blog/81-png8-transparency-witho...

That site is great because it's so easy, they did some very impressive drag-and-drop code and it makes very high quality output that is as good as Fireworks.

Re: Instant 8-bit alpha PNG converter

#8
post #7
post #5

What is the difference to using say optipng?

optipng/pngout/pnggauntlet are "only" png optimizers this site gracefully degrades a png with 24bit alpha transparency to 8bit alpha so you don't have to settle for a gif. I suspect they are using pngnq http://pornel.net/pngnq and pngquant http://pornel.net/pngquant Some background here: http://blogs.sitepoint.com/png8-the-clear-winner/ http://www.ethanandjamie.com/blog/81-png8-transparency-witho... That site is grea…

Yeah, most of the compression seems to come from converting from RGB to colormap with pngquant.

I wonder if it's possible to do all this with an ImageMagick one-liner.

Re: Instant 8-bit alpha PNG converter

#10
post #5

What is the difference to using say optipng?

Here's a real example, using a test image that has a lot of different alpha values in it, and a 24-bit alpha channel:

    Original:    87047 bytes
    optipng -o7: 82489 bytes
    this tool:   22585 bytes
The main difference, other than size, is that optipng produced an exact copy of the the original, while this tool is lossy, and threw away a bunch of data from the alpha channel. The win is that for the majority of all web cases, 8 bits of alpha is plenty.
Post reply on HN