OneJobKit

HomeImage ToolsResize imageBrowser

Resize an image to exact dimensions

Give a pixel size, or a physical size in millimeters and the resolution to print it at. Choose whether the photo fills the frame and gets cropped, or fits inside it and gets padded.

Drop an image hereor click to choose · nothing is uploaded
×

Common presets

Each one has its own page explaining where that requirement comes from and what to expect.

Coming from iLoveIMG?

Most online resizers only understand pixels. When a passport form asks for 35 × 45 mm at 300 DPI, you are left doing the maths. This one takes millimetres directly and stores the DPI in the file, so the print shop gets it right.

How to use it

  1. 1Drop a photo onto the box, or click it to choose a file.
  2. 2Switch between pixels and millimeters — millimeters also ask for the DPI you will print at.
  3. 3Pick a fit: Cover fills the frame and crops the overflow, Contain fits the whole picture in and pads the rest.
  4. 4Press Resize and download the result.

Frequently asked questions

Can I resize to millimeters for a passport or visa photo?
Yes. Switch to millimeters, type the size the form asks for — 35 × 45 mm is the usual one — and choose 300 DPI. The tool converts with mm ÷ 25.4 × DPI and writes the resolution into the JPEG's JFIF header, so print software prints it at the right physical size instead of guessing.
What is the difference between Cover, Contain and Stretch?
Cover fills the frame exactly and crops whatever hangs over the edges. Contain fits the whole picture inside and pads the leftover space. Stretch forces both dimensions and distorts the picture. Cover is what you want for an avatar; Contain when nothing may be cut off.
Does enlarging a small image make it sharper?
No. Scaling up interpolates between the pixels you already have — detail the camera never captured cannot be recovered. Enlarge only when something demands a minimum pixel size and a soft result is acceptable.
Is the DPI written into PNG and WebP too?
Only into JPEG. The resolution lives in the JFIF segment, which PNG and WebP have no equivalent of. If a print shop needs the file to carry its DPI, export JPEG.