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.