How PNG Compression Works
PNG is a lossless format. Every pixel in the original appears in the output — unchanged. But PNG files carry overhead. Ancillary metadata chunks. Unoptimized DEFLATE streams. Oversized color palettes with thousands of entries when the image uses 47 distinct colors.
Picture Optimizer strips unnecessary chunks first. It analyzes the color histogram. If the image uses fewer than 256 colors, the engine converts it to an indexed-color palette — cutting file size by 60–80%. For true-color PNGs, it re-encodes the DEFLATE stream at maximum compression. The alpha channel stays intact.
