Crop Image

Crops an image to the specified region, or automatically crops edges.

Input: Image file (Open file)Result: Image preview and download

or drop an image here

Text input

Run to see the result

More options

Examples

Take the top-left 16 by 16 pixels; cropping keeps original pixels rather than resizing the whole image.

A checkerboard exposes flipped or softened edges

Input

A checkerboard exposes flipped or softened edges — original image

Result

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X Position
0
Y Position
0
Width
16
Height
16
Autocrop
Off
Autocrop tolerance (%)
0.02
Only autocrop frames
On
Symmetric autocrop
Off
Autocrop keep border (px)
0
A portrait frame shows cropping and padding

Input

A portrait frame shows cropping and padding — original image

Result

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X Position
0
Y Position
0
Width
16
Height
16
Autocrop
Off
Autocrop tolerance (%)
0.02
Only autocrop frames
On
Symmetric autocrop
Off
Autocrop keep border (px)
0
An RGB landscape separates the colour channels

Input

An RGB landscape separates the colour channels — original image

Result

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X Position
0
Y Position
0
Width
16
Height
16
Autocrop
Off
Autocrop tolerance (%)
0.02
Only autocrop frames
On
Symmetric autocrop
Off
Autocrop keep border (px)
0
A translucent badge tests alpha preservation

Input

A translucent badge tests alpha preservation — original image

Result

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X Position
0
Y Position
0
Width
16
Height
16
Autocrop
Off
Autocrop tolerance (%)
0.02
Only autocrop frames
On
Symmetric autocrop
Off
Autocrop keep border (px)
0
A pixel-art cross makes rotation visible

Input

A pixel-art cross makes rotation visible — original image

Result

Run to see the image

Expected: 16 × 16 px · 4 pixel checks

X Position
0
Y Position
0
Width
16
Height
16
Autocrop
Off
Autocrop tolerance (%)
0.02
Only autocrop frames
On
Symmetric autocrop
Off
Autocrop keep border (px)
0

Autocrop Automatically crops same-colour borders from the image. Autocrop tolerance A percentage value for the tolerance of colour difference between pixels. Only autocrop frames Only crop real frames (all sides must have the same border) Symmetric autocrop Force autocrop to be symmetric (top/bottom and left/right are cropped by the same amount) Autocrop keep border The number of pixels of border to leave around the image.

Format reference: Crop Image background and specification

Related tools

Browse multimedia tools