← All tools
Image Tool

Compress an image

Reduce the size of your images by adjusting the compression quality, with no visible change.

Compress an image in DocuNest: 100% local processing on Windows, macOS, and Linux. Automatable via the docunest CLI.

Compress an image
Preview of Compress an image in DocuNest, offline PDF app

Features

Precise control over quality level (0-100)
Support for JPEG, PNG, and WebP formats
Significant reduction in file size
100% local and private processing

Use cases

1

Web optimization

Compress your images before uploading them to a website to speed up loading times.

2

Emailing

Reduce the size of a photo to comply with attachment limits.

3

Storage

Compress your photos to save disk space.

Command line

Same result as the interface, in one command. Nothing leaves your machine.

docunest — zsh

local
# Compress an image
❯ docunest img compress -i photo.jpg --quality 70 --format jpeg -o compressed.jpg
✓ Done — file written locally, no network upload

Complete CLI documentation →

Frequently asked questions

Is the visual quality affected?
With a quality of 70-85, the difference is generally imperceptible to the eye.
Which formats are supported?
JPEG, PNG, and WebP for both input and output.
Can I compress multiple images at once?
In the CLI, you process each image individually. In the graphical interface, batch processing is available.

Stop sending your PDFs to the cloud.

Download DocuNest: the complete editor, 7-day trial, no credit card, no files leaving your machine.

Download for free

Download DocuNest

No account required, no data collected.

Linux

Install a system package, or use the AppImage if you prefer a portable version.

Windows 10+, macOS 12+ (Apple Silicon), Linux (deb / rpm / AppImage)