TotImages.

← Blog

HEIC

How to resize a photo to the exact size a form asks for

15 Oct 2026 · 3 min read

When a form asks for a photo of an exact size, open the resize tool below, type the width and height it wants in pixels, and download the copy. Everything happens in your browser: the photo is not uploaded to any server, which matters when the photo is your ID or passport picture.

Resize the image →

Why forms reject your photo

Upload forms check three things: dimensions (a minimum or maximum in pixels), file weight (a limit in kilobytes or megabytes), and sometimes the aspect ratio. A phone photo is usually 3000 by 4000 pixels or more and several megabytes, far above what most forms accept. Resizing to the requested dimensions fixes the dimensions and almost always the weight too, because a smaller photo is a smaller file.

Pixels, centimetres and DPI

Forms think in pixels; centimetres only make sense together with a resolution in DPI (dots per inch). The conversion: pixels = centimetres ÷ 2.54 × DPI. At 300 DPI, the standard for print-quality photos, a 35 by 45 millimetre passport photo is about 413 by 531 pixels. If a form gives the size in centimetres or inches, convert it to pixels at 300 DPI and you have the number to type.

Resize a photo to an exact size, step by step

  1. Open the resize tool below and choose the photo. It works on phone and computer, and the photo never leaves your device.
  2. Type the width and height the form asks for, in pixels.
  3. If only one dimension matters, change that one and keep the proportion locked so the photo is not stretched.
  4. Download the resized copy and upload that one to the form. Keep the original as your master.

Common exact sizes, ready to copy

Spanish and European ID photos: 35 by 45 millimetres, about 413 by 531 pixels at 300 DPI. United States visa and passport: 2 by 2 inches, 600 by 600 pixels at 300 DPI. Profile pictures and avatars usually work at 400 by 400 pixels. Marketplaces and online shops typically want the longest side at 800 pixels or more. When in doubt, the form’s own help text wins over any general rule.

When the problem is only the weight

If the form accepts any dimensions but rejects the file for being too heavy, do not aim for an exact size: downscale proportionally instead. Set the longest side to 1600 or 2000 pixels and keep the proportion locked. For most uses nobody will see the difference, and the file drops to a fraction of its original weight.

A privacy note for ID photos

The photos a form asks for are often your most sensitive ones: passport, ID card, a face picture for a procedure. Online resizers that process files on their servers keep, even if briefly, a copy of that document. TotImages resizes the photo inside your own browser, so the file is not uploaded at all, and the copy you download does not carry the original’s metadata such as location or camera.

Keep your originals. Conversion creates a new copy; metadata, HDR and extra frames are not retained.

Questions, answered

Does resizing a photo reduce its quality?

Making a photo smaller keeps it looking sharp: you are removing pixels the form did not need. Only enlarging has real limits, because no tool can invent detail that is not there. For forms, always downscale from the original.

How many pixels is a passport photo?

A 35 by 45 millimetre photo, the standard in Spain and most of Europe, is about 413 by 531 pixels at 300 DPI. The American 2 by 2 inch format is 600 by 600 pixels at the same resolution. Check the instructions of your specific procedure, because some ask for an exact pixel size.

The form only complains about the file size, not the dimensions. What do I do?

Downscale proportionally: put 1600 or 2000 pixels on the longest side and keep the proportions. That usually takes a phone photo under one megabyte. If the photo is a PNG or HEIC, converting it to JPG as well reduces the weight even more.

Does the resized photo keep my location and camera data?

No. The copy TotImages gives you does not retain the original’s metadata: no location, no camera model, no date. And since the resize happens in your browser, the photo is never uploaded to a server in the first place.

Sources

Keep going

Why Google Photos downloads are HEIC, and how to get JPG or PNG

A Google Photos download ends in .heic? Find out what that means, then convert a copy to JPG or PNG in your browser.

Read the guide →

How to open HEIC files on Windows 10 and 11

Open HEIC photos with Windows codecs, or make a PNG copy in your browser without installing an extension.

Read the guide →

How to convert many HEIC photos at once: batches and ZIP

Turn a folder of HEIC photos into PNG copies, then download them together as a ZIP. A practical workflow for large photo exports.

Read the guide →

Why images save as WebP, and how to get JPG or PNG

Saved an image that ends in .webp? Find out why websites serve WebP and how to turn a copy into JPG or PNG in your browser.

Read the guide →

What is an AVIF file, and how to open it or convert it to JPG or PNG

Found a .avif image you cannot open? Learn what AVIF is, where it comes from, and how to get a JPG or PNG copy in your browser.

Read the guide →

Why iPhone photos are HEIC, and 3 ways to get a JPG

iPhone photos arrive as HEIC and many apps reject them. Three free ways to get a JPG: change the camera setting, let the iPhone convert on transfer, or convert the files in your browser.

Read the guide →

Print a photo at the exact size you need

How to print an image at actual size or split across A4 sheets: measure first, print at 100%, and make every centimetre come out right.

Read the guide →

How to email iPhone photos as JPG so anyone can open them

iPhone photos are HEIC and sometimes arrive unreadable. When the iPhone converts them for you, when it does not, and how to make sure every photo you email arrives as a JPG.

Read the guide →

PowerPoint or Google Slides will not take your SVG? Convert it to PNG

Google Slides rejects SVG files and older PowerPoint cannot open them either. Why it happens, why a screenshot is not the answer, and how to convert an SVG logo or icon to a transparent PNG right in your browser.

Read the guide →

Remove location and hidden data from photos before sharing them

Photos carry hidden metadata: camera model, date and often the exact GPS spot. See what your photos reveal and remove it in your browser before you share them.

Read the guide →

Compress a photo to an exact size: 50 KB, 100 KB or 200 KB

Forms that reject photos over a weight limit are common. How to compress a photo to an exact target in KB or MB, in your browser and without uploading it.

Read the guide →

How to watermark your photos before sharing them

Add a text or logo watermark to your photos in your browser: position, size, opacity and a tiled mode for proofs. Free, batch-ready and without uploads.

Read the guide →

How to crop and rotate a photo before you share it

Straighten a crooked horizon, reframe the subject and cut out what you don’t need, right in your browser. No upload, no account.

Read the guide →

How to make an ICO icon for your website from a PNG

Turn a logo or simple graphic into an ICO favicon in your browser. What an ICO contains, what makes a good source image and where the icon appears.

Read the guide →

How to print a big photo as a poster on A4 paper

Turn one photo into a large poster using ordinary A4 sheets: the tool splits it with overlap and crop marks, ready to tape together. No upload, no account.

Read the guide →

JPEG and JPG: the same format, but why will my file not open?

JPG and JPEG are two extensions for the same image format. Check the actual file, download and app before renaming or converting a copy.

Read the guide →