Performance Optimization
One simple trick to make your screenshots 80% smaller

One simple trick to make your screenshots 80% smaller

1/30/2020 · James Ramsay

What this post added

This post details a method to significantly reduce the file size of screenshots through color quantization (using pngquant) and DEFLATE compression (using zopfli). It provides command-line instructions and automation scripts for macOS using Hazel and Automator, demonstrating how to achieve up to 80% file size reduction. The technical details include explanations of PNG-32 vs. PNG-8, color quantization, and the benefits of zopfli over standard zlib.

Read the original post ↗