← All guides

URLTO GUIDE

Calculate portrait width under a maximum-height limit

Portraits can reach the height bound first. Identical maximums can produce different dimensions from landscape images.

URLTO editorial · Updated

Image resizing · series05 / 10

Input and processing example

Compare it yourself · Illustrative example

원본 / Original: 1600 × 2400
최대 / Maximum: 1200 × 1200
결과 / Result: 800 × 1200

Steps to verify

  • Check actual orientation.
  • Resize for the height limit.
  • Review orientation and composition.

How to interpret the result

Halving height from 2400 gives width 800. The full image is retained without arbitrarily cropping the subject.

Deciding what to do next

Review separate cropping or placement for templates requiring another ratio. Check whether the destination crops the resized output.

Feature scope

Downsize PNG, JPEG and WebP proportionally in the browser without upscaling. Inputs are bounded by 20 MB, 20 megapixels and 8192px per side; metadata and animation are not preserved as originals.

Frequently asked questions

Does a portrait become square?

It preserves the original ratio without automatic square cropping.

Use now Image resizing