Resize Images Without Stretching
A proportional resize multiplies width and height by the same factor. The picture keeps its ratio. Stretching multiplies the sides by different factors and can make circles look like ellipses. The image resizer will not stretch unless you turn that mode on and confirm it.
What 50 percent actually does
Start with 4000×3000. That is 12,000,000 pixels. Half of each side is 2000×1500, which is 3,000,000 pixels. The pixel count falls by 75 percent, not by 50 percent. The same pattern turns 6000×4000, or 24 megapixels, into 3000×2000, or 6 megapixels. The scaling calculator reports that change separately from any file size, because a JPEG or WebP byte count depends on the picture and the encoder.
Contain and cover
Place a 1600×900 image on an 800×800 canvas. Contain uses the smaller of 800/1600 and 800/900, which is 0.5. The image becomes 800×450. The leftover vertical space is 350 pixels. Centered alignment puts 175 pixels above the image and 175 below it. Cover uses the larger ratio, 800/900. The height becomes 800 and the width becomes about 1422.222. About 622 pixels of width sit outside the square and are cropped. Scale-down uses the contain scale only when it is at most 1, so a small image is not enlarged to fill a big frame.
Alignment uses 0, 0.5, and 1 for left or top, center, and right or bottom. The offset is the spare canvas times that fraction. On a cover crop the offset can be negative, which is the part that falls outside the frame. A centered result can land on a half pixel before the browser rasterizes it.
Cropping is a different cut
A 4000×3000 picture cropped to a centered 3000×3000 square starts at x = 500 and y = 0. The crop keeps 9,000,000 of 12,000,000 pixels, or 75 percent. That area percentage is not a promise about the encoded file. A 16:9 crop of the same picture is 4000×2250 at y = 375. Inside a 1000×1000 square, the largest exact 16:9 integer crop is 992×558. The crop editor maps the pointer through the preview scale so the download matches the rectangle you see. The thirds grid is an overlay and is not painted into the file.
Export limits
Files larger than 25 MB are refused. Decoded images above 40 million pixels are refused. Outputs above 25 million pixels are refused. JPEG flattens transparency onto the background you choose, white by default. PNG keeps transparency and does not use the quality slider. If a browser cannot encode WebP, the page will not save that blob under a WebP name. Enlarging a soft photograph does not reconstruct detail that the sensor never stored.
Questions
- Why did my file get larger?
- A new encode can be less efficient than the original. The page shows the increase.
- Does quality 80 mean 80 percent of the picture?
- No. It is a control the encoder understands, not a measured visual score.
Lock, preview, and the original file
With the ratio locked, a new width writes the matching height before anything is encoded. Upscaling is off unless you enable it, so a request larger than the source stays at the source size and the page says why. After the Blob exists, the result panel shows original dimensions, new dimensions, both pixel counts, the original byte size, and the encoded byte size. That last number is measured, not estimated from the pixel formula. Compare original leaves both previews on the page so you can see padding or a crop instead of trusting a single thumbnail.
EXIF orientation is read from JPEG and applied once, with the decoder asked for unrotated pixels first. A second automatic rotation would turn a portrait frame sideways again. The exported file does not carry the old orientation tag, camera name, GPS, or thumbnail, because the canvas encoder writes a new picture rather than a copy of the original container. GIF input is the first frame only, which the metadata line states. If the browser cannot decode HEIC, TIFF, or RAW, the message names that limit instead of showing a blank grid.
Use the fit diagram when you want the math without a file. Export it as SVG if you need to show a colleague the padding. Then send those canvas dimensions into the resizer. The five modes stay distinct there: proportional, contain, cover, stretch, and scale-down.
Related: print size and PPI and the fit calculator.