Advertisement

Home / ZER0 Vault / ZERO Bulk Image Compressor

Free download · ZER0 Vault

Free Bulk Image Compressor: Shrink JPG, PNG and WebP Photos in One Run

Shrink a whole folder of JPG, PNG and WebP pictures in one run, with three quality levels.

Type: Python scriptWorks on: Windows, macOS, LinuxVersion: 1.0Size: 1.6 KBPrice: Free

Short link to share: zeroupdates.org/compressor

What it does

Reads every JPG, PNG and WebP in a folder called images, saves a smaller copy of each into a folder called compressed, and prints the before and after size. Your originals are never touched.

How to use it

  1. Install Python 3, then run pip install Pillow once.
  2. Put the script in any folder and run it once. It creates an images folder.
  3. Copy your pictures into images and run the script again.
  4. Pick 1 (smallest, quality 60), 2 (quality 80) or 3 (quality 90, the default).
  5. Collect the results from the compressed folder.

Requirements

Python 3 and the Pillow library (pip install Pillow).

Good to know

Is it safe?

Read the script first: it is plain text and takes a minute. Only run files you trust, and check the SHA-256 below matches what you downloaded.

SHA-256 of ZERO-Image-Compressor.py:

55762880ec56414beddf4122976f52f5177a16bd65181514c159bb6253b5fb24

On Windows: certutil -hashfile ZERO-Image-Compressor.py SHA256. On macOS or Linux: shasum -a 256 ZERO-Image-Compressor.py.

Made by ZER0 Updates and provided as is, with no warranty. You are responsible for how you use it. Back up anything important before running a tool that changes or deletes files.

More tools