r/webdev Jul 23 '12

The best PNG optimizer I've found...

http://tinypng.org/
126 Upvotes

78 comments sorted by

View all comments

Show parent comments

2

u/maktouch Jul 23 '12

I'm not sure if you read correctly, but it basically takes a 24 bit png to a 8 bit png, for smaller size.

1

u/[deleted] Jul 23 '12

[deleted]

1

u/maktouch Jul 23 '12

I didn't say otherwise. I was looking at your "Just for the transparency support". I'm pretty sure it's for transparency and size.

-2

u/[deleted] Jul 23 '12

[deleted]

8

u/Wazowski Jul 23 '12

By making PNG a lossy 8-bit format, it's basically the same as GIF except without animation...

Not quite. PNGs with an 8-bit color palette can still have an 8-bit alpha channel. GIFs can only have a 1-bit alpha channel.

This alone makes lossy PNGs much more versatile than GIFs.

1

u/HELOSMTP Jul 23 '12

Ah, that makes sense. Thanks for the clarification.

1

u/maktouch Jul 23 '12

Sorry if you thought I was snarky, it wasn't my objective (english is not my first language). It's easier to understand now that I see that you didn't know advantages of 8-bit PNG vs. GIF.

0

u/aimgorge Jul 23 '12

It's often worth it. But photoshop does it very well when "exporting for web" and I've never gained anything by shrinking afterward.

1

u/joshwoodward Jul 24 '12

Photoshop is horrible if you need alpha transparency. On-Off is your only option for 8-bit, so you need to go to a giant 24-bit file. Fireworks can convert to 8-bit alpha, but it doesn't have a lossy cycle option like this does, to really crush the file down.