GitLab

One simple trick to make your screenshots 80% smaller

Jan 30, 2020James Ramsay
One simple trick to make your screenshots 80% smaller
SummaryAI, from the source post

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.

More from the Performance Optimization trail