

When you upload a PNG (Portable Network Graphics) file, similar colors in your image are combined.

This is the same technique that Color Thief uses to generate color palettes from photos. To accomplish this, TinyPNG uses a quantization algorithm to reduce the number of colors in a way that's virtually undetectable to the naked eye. The effect is nearly invisible but it makes a very large difference in file size! But wait, isn't PNG a lossless format? Yes, and that's the beauty of TinyPNG:īy selectively decreasing the number of colors in the image, fewer bytes are required to store the data. TinyPNG uses "smart lossy compression techniques" to make your images smaller. Perhaps you've even used a tool like Pngcrush before to make your images smaller. I keep posts like this around for historical purposes and to prevent link rot, so please keep this inīy now, you know that optimizing images and other resources can reduce bandwidth and help your website load faster. Heads up! This post was written in 2014, so it may contain information that is no longerĪccurate.
