How to Resize Photos to Exact Pixel Dimensions

By Docmint Team · · 4 min read

Enter the width and height you need in pixels, keep the aspect ratio locked, and resize. Here is how to meet profile photo and application form rules.

To resize a photo to exact pixel dimensions, open it in an image resizer, enter the width or height you need in pixels, and save the result. In Docmint's Resize Image, choose Exact pixels, type the dimension with the aspect ratio lock on so the photo does not stretch, and click Resize. If the required shape differs from your photo's shape, crop it to the right proportions first.

Pixels, percentage or Fit within: which mode should you use?

Exact pixels is for when a form or platform states the size, such as 600 × 600 or 1200 × 630. Keep the lock on to preserve proportions. Turn it off only if you deliberately want to stretch the image to a shape it does not have.

Percentage scales the image by a proportion, such as 50% to halve both sides. It is useful when you simply want a smaller image and have no specific target.

Fit within sets a maximum width and height, and each image is scaled to fit inside that box without distortion. This is the mode for batches of mixed photos, some portrait and some landscape, that all need to be no larger than, say, 1920 × 1080.

How to resize an image with Docmint

  1. Open Resize Image and drop in one or many images. Their current dimensions are listed.
  2. Choose Exact pixels, Percentage or Fit within.
  3. Enter the width, height or percentage. Keep the aspect ratio lock on to preserve proportions, or click a preset such as 1080 × 1080, 1200 × 630 or 1920 × 1080.
  4. Click Resize and download the result.

How do you keep the aspect ratio when the required size is a different shape?

Aspect ratio is the relationship between width and height. A typical phone photo is 4:3 or 3:2, while a profile photo slot is often square. Resizing alone cannot turn a 4:3 photo into a square without stretching it.

The clean approach is to crop first, then resize. Use the crop tool in your phone's photo app, in macOS Photos or Preview, or in the Windows Photos app to cut the picture to the right shape, for example a square around your face. Then resize the cropped image: with the lock on, a square crop set to 600 pixels wide becomes exactly 600 × 600.

If you turn the lock off and enter both numbers on an uncropped photo, the image is squeezed or stretched. Faces look wrong very quickly, so avoid this for photos of people.

What size should profile and social media photos be?

Most platforms crop and scale uploads themselves, but giving them a sensible size up front avoids a blurry upscale or an awkward automatic crop. The presets cover common targets: 1080 × 1080 for square posts, 1200 × 630 for link preview images, and 1920 × 1080 for full HD banners and slides. Recommendations change over time, so check the platform's current guidance when it matters.

How do you meet an application form's photo requirements?

Visa applications, exam registrations, ID cards and job portals often specify both pixel dimensions and a maximum file size, such as a square photo between 600 and 1,200 pixels and no more than a few hundred kilobytes. Work in three steps: crop to the required shape, resize to the required pixels, then check the file size.

If the file is still too large, run it through Compress Image and lower the quality a little. The dimensions stay the same and only the file size drops. You can chain the resize and the compression in a Docmint pipeline so both happen in one go.

Do not confuse pixels with DPI. Some forms mention 300 DPI, but DPI is only a printing hint stored in the file; it does not change how many pixels the image has. When a form gives pixel dimensions, those are the numbers that count.

Can you make a small image bigger?

You can, but enlarging cannot add detail that was never captured. The software has to fill in new pixels between the existing ones, so upscaled photos look soft. Keep enlargements under about 200% for acceptable results, and if you need a large image, look for a higher-resolution original first. Shrinking is the opposite story: Resize Image uses high-quality downsampling, so photos you make smaller stay sharp.

Troubleshooting

  1. The photo looks stretched: the aspect ratio lock was off. Turn it on, or crop to the target shape before resizing.
  2. The file is still too big for the form: reduce the dimensions further if the form allows it, or compress after resizing.
  3. The result looks blurry: you probably enlarged a small image. Start again from the original, full-size photo.
  4. Portrait and landscape photos need the same maximum size: use Fit within instead of exact pixels.

Other ways to resize photos

On a Mac, Preview's Adjust Size dialog resizes by pixels or percent and can scale proportionally. On Windows, the Photos app and Paint can resize too. They are fine for a single photo. A browser tool helps when you have a batch to bring to the same size, or want one-click presets for common dimensions.