Resize an image

Set an exact width and height in pixels, or in millimetres and inches for printing. The aspect ratio stays locked unless you unlock it.

Converting millimetres and inches to pixels

A printed size only becomes a pixel size once you choose a resolution (DPI, dots per inch):

pixels = millimetres ÷ 25.4 × DPI

Example: a 35 mm wide photo at 300 DPI is 35 ÷ 25.4 × 300 = 413 pixels wide. At 600 DPI it is 827 pixels. Print labs commonly print photos at 300 DPI; higher values give the printer more detail to work with.

Limits

Enlarging an image can't create detail that wasn't captured, so upscaled images look soft. Reductions are done in halving steps, which keeps fine lines and text cleaner than a single jump. Output is capped at 20,000 pixels per side and 50 megapixels.

What happens to your file

Your image is opened and processed by your own browser. It is not uploaded to Pixelyra or anyone else, and it is gone when you close or reload the page. The site's security policy blocks the page from sending data to other servers.

Questions

Does resizing reduce the file size?

Usually, yes: fewer pixels means less data. If you need a specific file size, use the image compressor, which can also reduce dimensions for you.

What does unlocking the aspect ratio do?

It lets you set width and height independently, which stretches or squashes the image. To change the shape without distortion, crop instead.