Clever PNG Optimization Techniques
smashingmagazine.com
smashingmagazine.com
PNG is a really neat format to produce from code when you're trying to visualize datastructures as well, and some of these optimization tricks can be used with the GD library as well when you select the image type.
If you produce a lot of those images the bandwidth savings can be quite considerable.
Also the optiPNG website doesn't say it's based on pngcrush, it does appear to have started by using the same methods though.
Using it is a mark of an inexperienced graphic designer.
Use JPEG if you photographed a real life object with a camera. ALL other images (for the web) should be PNG.
Oh, and the reason it's horrendous is that it makes the images blurry - and larger! And you can no longer realistically edit the image once JPEG touched it. (For example change a color: use a color picking tool, can't do it once jpeg touched it.)
Just keep the original work file (which surely is not a PNG either) and change that if you have to.
For a non photo the only time jpeg would be smaller is if it's a dithered image. And since you shouldn't use a dithered image anyway, I maintain what I said.