What is PNG compression, and why are PNG files so heavy?
Screenshots and design exports are usually saved as 24-bit (RGB) or 32-bit (RGBA) truecolor PNGs, storing 3 to 4 bytes per pixel with lossless DEFLATE compression. On high-DPI displays or graphics with soft shadows, a single PNG easily grows to 2–10 MB.
Purely lossless re-packing typically trims only 5%–15%. To achieve major reductions while keeping the PNG format and sharp edges, tools like pngquant and docsmall’s local UPNG encoder quantize 32-bit pixels into an 8-bit indexed palette — merging nearly identical colors so files shrink dramatically.
- Outputs standard indexed PNGs compatible with every browser and OS.
- Original pixel dimensions stay untouched (e.g., 2560 × 1440 stays 2560 × 1440).
- Indexed quantization delivers the biggest wins on UI assets, logos, and screenshots.

