Resize Image

Resize an image to your chosen width and height. Choose pixels or percentages and whether to preserve the aspect ratio.

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

or drop an image here

Text input

Run to see the result

Examples

Double the dimensions with nearest-neighbour scaling. Each source pixel should become a two-by-two block.

A checkerboard exposes flipped or softened edges

Input

A checkerboard exposes flipped or softened edges — original image

Result

Run to see the image

Expected: 64 × 64 px · 4 pixel checks

Width
64
Height
64
Unit type
Pixels
Maintain aspect ratio
Off
Resizing algorithm
Nearest Neighbour
A portrait frame shows cropping and padding

Input

A portrait frame shows cropping and padding — original image

Result

Run to see the image

Expected: 96 × 160 px · 4 pixel checks

Width
96
Height
160
Unit type
Pixels
Maintain aspect ratio
Off
Resizing algorithm
Nearest Neighbour
An RGB landscape separates the colour channels

Input

An RGB landscape separates the colour channels — original image

Result

Run to see the image

Expected: 192 × 96 px · 4 pixel checks

Width
192
Height
96
Unit type
Pixels
Maintain aspect ratio
Off
Resizing algorithm
Nearest Neighbour
A translucent badge tests alpha preservation

Input

A translucent badge tests alpha preservation — original image

Result

Run to see the image

Expected: 128 × 128 px · 4 pixel checks

Width
128
Height
128
Unit type
Pixels
Maintain aspect ratio
Off
Resizing algorithm
Nearest Neighbour
A pixel-art cross makes rotation visible

Input

A pixel-art cross makes rotation visible — original image

Result

Run to see the image

Expected: 80 × 80 px · 4 pixel checks

Width
80
Height
80
Unit type
Pixels
Maintain aspect ratio
Off
Resizing algorithm
Nearest Neighbour

Format reference: Resize Image background and specification

Related tools

Browse multimedia tools