Browse all tools
RESIZING

Resize Image by Pixels

Enter the exact output width and height in pixels. Keep proportions or choose a crop or stretch mode.

Files stay on your device
Free · No sign-up

Drop your image here

or choose a file from your device

JPG, PNG, WebP, GIF or BMP · Up to 40 MB · One image
Images are processed locally in your browser and are not uploaded.

Set an image’s exact pixel dimensions

Enter the output width and height in pixels. Keep proportions to avoid distortion, use fit to retain the whole image, or choose fill when the frame must be covered.

Exact pixel dimensions do not determine print size by themselves; print scale also depends on resolution settings in the application or printer.

What this tool is designed for

Resize Image by Pixels is for jobs that state an exact number, such as "upload a 600 × 600 px photo" or "banner must be 728 × 90". You enter both dimensions and the exported file has exactly those pixel counts, which you can confirm in the result line under the preview. Pixels are the only unit a screen or upload form actually checks; centimeters and inches only matter once something is printed.

Example workflow

A form asks for a 600 × 600 pixel photo and you have a 3000 × 4000 portrait. The shapes differ (square versus 3:4), so choose fill: the portrait is scaled to 600 pixels wide and the top and bottom are trimmed to make it square. Check that the head is not cut off; if it is, crop the photo first with the Image Cropper so the face sits in the middle, then resize. If the same form also wants a 4 × 4 cm print, 600 pixels across 4 cm works out to about 380 pixels per inch, which prints sharply.

Enter dimensions without distorting the source

Exact width and height are useful when a form or design template specifies pixel values. If the source and requested canvas have different proportions, choose whether to preserve the whole image with margins or crop to fill. Stretching can distort circles, faces, and logos. Confirm the exported pixel dimensions after download rather than relying only on the fields.

Practical tips and troubleshooting

  • To work out print size, divide pixels by the print resolution: 1200 pixels at 300 pixels per inch prints 4 inches (about 10 cm) wide.
  • Forms that check pixel size usually reject even one pixel of difference, so read the exported dimensions rather than assuming.
  • If a form gives a range ("at least 400 px"), choose a size comfortably inside it rather than exactly on the boundary.
  • Enter the larger dimension first when shrinking with the ratio locked, then check that the other side came out as required.

Frequently asked questions

How do I convert centimeters to pixels?

Multiply the size in inches by the print resolution. One inch is 2.54 cm, so a 3.5 cm width at 300 pixels per inch is 3.5 ÷ 2.54 × 300 ≈ 413 pixels. Use the resolution the form or printer asks for; 300 is a common default.

Why does my image need both width and height?

Many upload checks compare both numbers. If only one side is required, keep the aspect ratio locked and let the other side follow so the picture is not distorted.

Does changing pixel size change the DPI?

The pixel count is what changes. DPI is a separate print setting that tells software how large to print those pixels; it does not add or remove detail on its own.

What happens if the exact size has a different shape from my photo?

Choose fit to keep everything with margins, fill to crop the overflow from the center, or stretch to distort the photo into the box. For people and products, fill or fit look far better than stretch.

How to use Resize Image by Pixels

  1. Choose the image.
  2. Enter the exact Width (px) and Height (px) the form or website asks for.
  3. If the shape differs from your photo, choose Fill and crop to keep the full frame covered, or Fit inside (no crop) to keep everything.
  4. Select Process image and confirm the result line shows exactly the pixels you entered before downloading.

Image processing runs in your browser. Image files are not uploaded to ImageTools PK.