Shubham Agrawal

Python

Building a Python File Compressor with Ghostscript and Pillow

Building a Production‑Grade File Compression Utility in Python We built an open‑source Python tool that shrinks 30–50 MB PDFs and images down to under 2 MB — with readable output, a desktop GUI, Docker support, CLI, and a one‑click .exe build. This post explains how it works under the hood. The Problem Nobody Talks About ...

15-Apr-2026