The Finest Hand-Selected Downloads
Individually reviewed & tested
Store News

jpeg-recompress 2.1.1

Cut JPEG file sizes by 50% or more

Operating Systems:
Linux, macOS, Windows 10, Windows 7 (32 bit), Windows 7 (64 bit), Windows 8
Open Source
Daniel G Taylor
Software Cost:
Audio, Video & Photo
Date Updated:
27 October 2016
Downloads To Date:

Jpeg-recompress is a command-line tool which can cut JPEG file sizes by 50% or more.

The program works by intelligently selecting the lowest possible quality setting for your JPEG, which also has the minimum effect on its perceived visual quality.

The command line syntax is straightforward, and at a minimum you can get away with this.

jpeg-recompress in.jpg out.jpg

This tells jpeg-recompress to take the image in.jpg and process it at several lower quality levels. At each stage the program uses the structural similarity (SSIM) algorithm to measure the change in your image, and finally selects the lowest level that still gives you acceptable results.

We tried this out with a few sample HD photos. Processing was faster than we expected, 5 or 6 seconds to find the best quality level and save the image. File sizes were typically 50% to 25% of the original. Most important of all, there was no apparent difference between the "before" and "after" files.

If this doesn't quite work for you, there are various options to try. You could use a different algorithm to check your images, set a new "acceptable" quality level to further shrink the files, and there's a "strip metadata" switch to save the maximum amount of space.

Please note: the project download is "jpeg-archive", but jpeg-recompress is one of the bundled files.


Jpeg-recompress is an interesting tool which can deliver spectacular results, significantly cutting file size while losing minimal image quality. If you don't mind running it from the command line, or are happy to set up your own scripts, it's a must-see.

Your Comments & Opinion

Related Downloads Other Downloads From This Category

Selectively extract images from PDF files

Open Source

Repair corrupt JPEGs. Sometimes.


Cut JPEG file sizes, without losing image quality


Shrink your JPEGs without losing any image quality

Secure & Tested Software
Instant Download 24/7
10+ Years of Service