← All tools
Image Tool

Crop an image

Crop your images by defining a precise crop area using coordinates.

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

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

Features

Rectangle cropping (x, y, width, height)
Result preview before export
Preservation of image quality
Support for JPEG, PNG, and WebP formats

Use cases

1

Crop a photo

Remove unwanted edges from a photo to recenter the subject.

2

Prepare an avatar

Cut out a square area from a photo for a user profile.

3

Extract a detail

Isolate a specific part of an image to enlarge or reuse it.

Command line

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

docunest — zsh

local
# Crop an image
❯ docunest img crop -i photo.jpg --rect "100,50,800,600" -o cropped.jpg
✓ Done — file written locally, no network upload

Complete CLI documentation →

Frequently asked questions

How do I define the crop area?
Specify the x and y coordinates of the top-left corner, followed by the width and height in pixels.
Is the quality preserved?
Yes. Cropping does not recompress the image beyond the chosen output format.

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)