"Resize" usually means a number, not a percentage
Half size is a sentence for a photo editor. What people are actually given is a number: 160 × 200 pixels for an exam portal, 2 × 2 inches for a US visa photo, 35 × 45 mm for a passport, 600 × 600 for a profile image that must not be cropped. A percentage cannot answer any of those, because a percentage depends on what you started with.
So this page asks for the landing size instead of a scaling factor. Type the width the form demands and leave height blank to keep the shape, or fill both fields when the form gives you a box. The image is redrawn on a canvas at exactly that size and handed back as a download from your own browser tab.
Pixels, inches and DPI — the one conversion you need
Three units get mixed up constantly. A pixel is what the file stores. An inch is what paper measures. DPI is the exchange rate between them: pixels = inches × DPI.
Print and ID systems assume 300 DPI. At that rate, one inch is 300 pixels, so a 2 × 2 inch photo is 600 × 600 pixels, 35 mm is about 413 pixels and 45 mm is about 531. At the older screen default of 72 DPI, a 2 × 2 inch photo is only 144 × 144 pixels — and that is where uploads get rejected: the form wanted 600 × 600, the file arrived as a thumbnail.
Two rules cover almost every case:
- The instruction is in inches, cm or mm. It is a print or ID form. Use 300 DPI and let the tool do the multiplication.
- The instruction is in pixels. DPI is irrelevant. Send exactly the pixel count stated and stop converting.
Centimeters work the same way. 3.5 × 4.5 cm is 35 × 45 mm, which is 413 × 531 pixels at 300 DPI. 51 × 51 mm is a different way of writing 2 × 2 inches.
2 × 2 inch is 600 × 600 pixels at 300 DPI
The 2 × 2 inch square is the standard for US passport and visa photos, and it shows up in a lot of other forms that copied the requirement. Set 600 for both width and height, choose a fill-style crop so the head fills the frame, and keep the face square to the camera.
Two details decide whether it passes:
- Framing. The head should fill most of the square — a full-length photo squeezed into 600 × 600 will be rejected even at the correct pixel size. Crop to head and shoulders first, then resize.
- Background. Plain and light. A busy background is a separate rejection reason from anything this tool controls.
35 × 45 mm, 160 × 200 and the other sizes people ask for
A short list of the sizes that come up constantly, with the pixel number to type at 300 DPI:
- 35 × 45 mm — UK, EU, India and many other passport standards — 413 × 531 pixels
- 51 × 51 mm — 600 × 600 pixels
- 160 × 200 pixels — exam, recruitment and application portals that state pixels directly; use exactly these numbers, do not round them
- 20 × 20 mm to 35 × 35 mm — small ID photos — 236 × 236 to 413 × 413 pixels
- 300 × 300 — avatars and profile cards
- 1920 × 1080 and 1280 × 720 — screen and presentation artwork
- 1200 pixels wide — a web image that still looks sharp on a high-density display
Aspect ratio is where most of these go wrong. 35 × 45 is a taller rectangle than 2 × 2, so the two are not interchangeable: putting one into the other either stretches the face or crops the top of the head. Match the shape the form asked for, not just the pixel count.
Fit, fill or stretch — which one keeps the face intact
Putting a source image into a target box gives you three honest options and one dishonest one:
- Fit keeps the whole image and adds empty space where the shapes disagree. Right for documents, scans and screenshots, where nothing may be cut off.
- Fill keeps the box completely covered and crops the edges of the image. Right for ID photos, where the head has to fill the frame; check the crop before you submit.
- Stretch forces both dimensions and keeps no ratio. Fine for a background or a texture whose proportions do not matter. Never for a face — a 10 percent stretch is visible.
The default here is fit, because silently cropping someone's document is worse than leaving a margin. Switch to fill when the form wants a portrait box.
What resizing actually does to sharpness
Shrinking throws away real pixels, and browsers resample well enough that a photo downscaled to 600 pixels across still looks clean on screen and in print at that size. Two things do soften: small text in a screenshot, and fine line art. If the result is a document image and the format is up to you, keep it as PNG — crisp edges survive better than they do in JPEG.
Enlarging is the case to be honest about. No resizer can add detail that was never captured. Up to about twice the original size the result is usable; past that the softness is obvious. If the form demands 600 × 600 and your source is 320 pixels across, upscaling gets you a compliant file with a soft photo, and the alternative is a new photo at full resolution.
When you also have a byte limit, order matters: resize here first, then compress. Doing it the other way round re-encodes the image twice and spends the bytes you just saved.
Pixel size is not file size — the difference that wastes people's time
Half the searches that begin with "resize image to" end in a kilobyte number: 20kb, 50kb, 100kb, 200kb. That is a different job, and mixing the two is the most common reason an upload still fails after a successful resize.
Width and height decide how much detail the file is allowed to hold. The encoder decides how many bytes that detail costs. The same 600 × 600 photo lands anywhere from roughly 30KB to 300KB depending on compression, so setting pixels never guarantees a byte number.
If the limit you were given is a byte cap, do this: set the pixel size here, download, then run the file through compressing an image to a KB target, which searches for the highest quality that still fits the budget. If the limit is only a byte cap with no dimension requirement, skip this page and go straight there.
Nothing leaves your device
There is no upload endpoint on this page. The file is read with FileReader, drawn to a canvas at the size you asked for, and exported to a blob URL in your own tab. Nothing is transmitted and nothing is stored, which matters when the image is a passport photo, an ID scan or a signature.
One side effect worth knowing: redrawing through a canvas drops the file's EXIF metadata, including camera details and GPS coordinates. Orientation is applied while the image is decoded, so portrait photos do not come out sideways. For an upload, losing that metadata is usually the outcome you want. To confirm none of this leaves the machine, watch the network panel while a resize runs — no request carries image data.
Check the result before you submit
Look at the pixel dimensions on the result panel, not the preview thumbnail. Then confirm three things against what the form asked for: both numbers, the aspect ratio, and whether the form also imposed a byte cap. A form that says "160 × 200, under 50KB" is two jobs, and the byte one comes second.
Finally, open the downloaded file on your own machine and check its properties there. That number — not the one this page reports — is what the portal reads.
Need several photos in one file instead of a resized single image? That is converting images to a PDF, a separate job that SizeGlide does not offer yet.