PNG Compression

Miscellaneous Forums/General Discussion/PNG Compression

Does anyone know of good software to compress png files, without changing the dimensions? I have some png files for webpages and I'm not very happy with their size.

Listen to little-miss-fusspot.

Well pngs are already compressed, but the headers can be tweaked a little bit to remove size, but not much relatively speaking. Perhaps a different format like jpg of gif is called for?

Ok, thanks. I'm probably going to switch to jpg. png for transparencies will be fine, but for the rest, jpg will be the format.

this might help:
http://www.blitzmax.com/Community/posts.php?topic=63133#705355
thread title: "How to get your PNG images really tiny"

OptiPNG is all you need:
http://optipng.sourceforge.net/

If you have Photoshop, then you can use the free SuperPNG plugin which has better compression than the default PNG saver.

However, since PNG is lossless, you'll always get better compression using a lossy compression algorithm like JPG.

One other thing you can do to reduce the size of your PNG files, is to reduce the number of colors used by the image in your image editing program first -- the less distinct colors and the more pixels repeating the same color, the smaller the size of your resulting image will be. Of course, if you use less colors then the quality of the image will be less as well... You'd need to find a balance between quality and filesize.