#083 · Image Compression & Resize Tool

Resize Image by Short Edge

Resize a photo by setting its shorter side while preserving the original aspect ratio and choosing a browser-supported output format.

Image Tool

Local browser processing
px
%
Ad space

How to use this image tool

  1. Choose a compatible image from your device.
  2. Set the controls for resize image by short edge.
  3. Run the tool and inspect the measured result or preview.
  4. Download the newly generated output file.

What this tool does

Resize a photo by setting its shorter side while preserving the original aspect ratio and choosing a browser-supported output format.

Decode → validate options → process pixels on canvas → encode a new output Blob

Processing stays in this browser tab. Very large images can exceed the memory available on phones or older computers.

Supported formats

The tool accepts browser-decodable still images. Animated input is handled as a single displayed frame. SVG is not accepted for pixel tools because safe rasterization varies by browser.

FormatSupport
PNGSupported
JPEGSupported where the tool does not require transparency
WebPSupported when decoded by the browser

Tips for better results

  • Keep an untouched copy of the source image.
  • Inspect edges, fine text, and gradients at full size.
  • Use a smaller source if the browser reports a memory limit.

FAQ

What does resizing by the short edge mean?

The shorter of the image width and height is set to your chosen pixel value. The longer edge is calculated from the original aspect ratio.

Will a landscape and portrait image use the same setting correctly?

Yes. The tool detects which dimension is shorter for each image rather than assuming the width is always the short edge.

Can this tool enlarge a small image?

Yes when Allow enlargement is selected, but interpolation cannot recreate detail that is missing from the source.

Which output format should I choose after resizing?

JPEG is practical for photos, PNG preserves transparency, and WebP often produces smaller web files when your browser encoder supports it.

Why was my requested size rejected?

The calculated canvas may exceed the browser memory guard or maximum pixel count. Choose a smaller short-edge value and try again.

Processing details

StageMethod
PrivacyLocal browser processing
OutputNew image Blob

Browse more image tools

Image tool hubs