Photo

Resize image: how to change pixels or KB without ruining the photo

A form may ask for 600 x 800 pixels, or 200 KB, or 3 x 4 cm. Those are three different things. Here is how to tell them apart and how to resize for each one.

Updated ยท 10 min read

Screenshot of the Compress Image tool tool on Dokurapi
Screenshot of the related Dokurapi tool. All processing runs in the browser.

To resize an image, first check whether the rule is about pixels, file size or print size, then use the tool that controls that number. For exact pixels, use Paint on Windows or Preview on Mac. For a KB limit, use a size target such as Dokurapi's Compress Image tool, which works in your browser with no upload.

Most resizing mistakes happen because these numbers get mixed up. This guide separates them, shows the steps for each, and uses test runs with a synthetic sample image from 4 November 2026 so you can see what each choice does.

Pixels, KB and centimetres are not the same thing

"Resize" is used for three separate jobs. Pixel size is the width and height of the picture. File size is how much storage it takes. Print size is how large it appears on paper. A form may ask for any of them, and sometimes for two at once.

Table of four terms: pixel size measures width by height, file size measures storage in KB or MB, print size measures centimetres on paper, DPI measures pixels per inch when printed
Read the rule carefully. Changing pixels when the form limits KB, or the other way round, wastes time.

A quick example shows the difference. A 3000 x 2000 photo could be 400 KB as a JPG or several megabytes as a PNG, even though the pixels are identical. So when a portal says "maximum 200 KB", it says nothing about pixels. When a site says "1200 x 630 pixels", it says nothing about KB. If the size in KB is what confuses you, 200 KB to MB explains the units.

Ready to try it? The tool is free and runs in your browser.

Open the Compress Image tool

How to resize to exact pixels on a computer

Built-in apps are enough for this, and they keep the file on your computer.

Windows, using Paint. Microsoft's Paint help says you can use Resize on the Home tab and set the new size in pixels or as a percentage of the original.

  1. Open a copy of the image in Paint.
  2. Choose Resize on the Home tab.
  3. Select pixels, keep the aspect ratio option on, and type the width.
  4. Save the file.

Mac, using Preview. Apple's guide says to open the image, click the Adjust Size button in the Markup toolbar, and enter a new width and height, or choose a size from the "Fit into" menu.

  1. Open a copy in Preview and show the Markup toolbar.
  2. Click Adjust Size.
  3. Keep "Scale proportionally" selected so the picture does not stretch.
  4. Enter the width or height, then click OK and save.

Keeping proportions matters. If you force a 3:2 photo into a square, faces get stretched. When the shape must change, crop first and resize second. Each step should be done on a copy, because a saved resize cannot be undone later.

How to resize to a KB limit in your browser

Upload forms care about KB, and pixel editors do not show you the final KB until you save. A size target solves this.

  1. Open Compress Image and choose your JPG, PNG or WebP file.
  2. Pick a preset or type your limit in the custom KB box.
  3. Leave the pixel setting on "May shrink if needed", unless the form requires exact dimensions.
  4. Press Compress photo.
  5. Read the result box, then download the JPG.
Dokurapi Compress Image tool with sample-photo.png at 7.16 MB, custom target 100 KB, and a result of 69.8 KB at quality 24 percent and 2400 by 1600 pixels
A synthetic 7.16 MB test image with a 100 KB target. Its noisy pattern is hard to compress, so the quality fell to 24%. Normal photos usually do better.

The tool aims 6% below your number, so a 100 KB target means about 94 KB. It lowers JPEG quality first. If quality alone cannot reach the target, and shrinking is allowed, it steps the dimensions down to a minimum of 640 pixels on the longest side. With "May shrink if needed", the longest side is also capped at 2400 pixels before it starts.

Presets save a step: 100 KB, 200 KB, 500 KB and 1 MB. The wider guide is how to compress an image.

What each choice does to the image

We ran one synthetic 3000 x 2000 PNG of 7.16 MB through the tool with different settings. The file is deliberately noisy, so treat these figures as an illustration of behaviour, not as a promise.

Bar chart: original PNG 7.16 MB at 3000 by 2000, target 100 KB keeping pixels 77.8 KB at 3000 by 2000, target 100 KB allowing shrink 69.8 KB at 2400 by 1600, target 50 KB allowing shrink 42.1 KB at 1474 by 983
Test run on 4 November 2026. The 50 KB run is the only one where the tool had to reduce pixels below its 2400 cap.

Three things stand out. First, the pixel cap applied as soon as shrinking was allowed, which is why 3000 x 2000 became 2400 x 1600 at a 100 KB target. Second, keeping pixels still hit the target, but only by lowering JPEG quality further. Third, at 50 KB the tool had to cut pixels to 1474 x 983. Compressing an image to 50 KB looks at that limit more closely.

If the form saysDo thisTool
Max 200 KB, no pixel ruleUse a KB target, allow shrinkingCompress Image
1200 x 630 pixels, no KB ruleSet pixels exactlyPaint or Preview
600 x 800 pixels and max 100 KBSet pixels first, then compress with pixels keptPaint or Preview, then Compress Image
3 x 4 cm photoCrop to 3:4, then check dpiID photo tool
Nothing specificKeep the original, resize only if upload failsNone

When a form limits pixels and KB together

Order matters. Set the pixels first, then reduce the KB. If you go the other way, the second step can push the file over the limit again.

  1. Resize to the exact pixels in Paint or Preview, and save a copy.
  2. Open that copy in Compress Image.
  3. Set the KB target and choose "Keep original size".
  4. Check the result box shows the dimensions you need.
Four cases: exact pixels use Paint or Preview, exact KB limit use a size target, both limits set pixels first then compress, print size work out pixels from centimetres and dpi
Match the method to the rule. Always work on a copy of the original photo.

If the result is still too large, or looks poor at the size required, what to do when a compressed file is still too big covers the next options.

Resizing for print and ID photos

Print size links centimetres to pixels through dpi. The formula is: pixels = centimetres / 2.54 x dpi. A 3 x 4 cm photo at 300 dpi is about 354 x 472 pixels, and a 4 x 6 cm photo at 300 dpi is about 472 x 709 pixels.

For ID photos, shape matters as much as size. A 3x4 photo has a 3:4 ratio, while 4x6 and 2x3 share a 2:3 ratio. Our ID photo tool crops to these shapes in your browser, and the guides to 3x4 photo size, 4x6 photo size and 2x3 photo size list pixel figures.

A job application is a common case. Photo for a job application shows which size and background to use.

Can you make a small image bigger?

You can increase the pixel numbers, but the software only guesses the new pixels from the existing ones, so the picture gets softer. It is fine for a small increase. It will not rescue a tiny photo.

If a form sets a minimum pixel size and your photo is below it, go back to the original or take a new photo. Messaging apps often reduce photos when you send them, so the copy in a chat may be much smaller than the one on the phone that took it. Sending it as a document usually avoids that.

Also check whether the form is really asking for pixels. A rule that names a minimum KB is unusual, and raising the KB of a file does not add detail either.

Resizing on a phone

Camera photos are often several megabytes, while upload limits are often a few hundred kilobytes. The quickest route on a phone is to open Compress Image in the browser, pick the photo from your gallery and type the limit. Choose the original photo rather than a copy from a chat app, because chat apps often reduce quality. Give the phone a moment on very large files, since the work happens on the device, and wait for the result box before you close the tab.

Common resizing mistakes

  • Editing the only copy. Once saved, removed pixels are gone.
  • Stretching instead of cropping. Faces and logos look wrong straight away.
  • Resizing several times. Each JPG save loses a little more. Go back to the original.
  • Ignoring the format list. A form may reject PNG even if the size is fine. See PNG to JPG.
  • Forgetting to check the result. Open it and read any small text before uploading.

Files stay on your device with Dokurapi, because the browser does the processing. How browser-based tools work explains what that means for private photos and documents.

Frequently asked questions

What does it mean to resize an image?
Resizing means changing the width and height of an image in pixels. People also use the word for reducing file size in KB or MB. These are related but separate, so check what your form actually asks for.
How do I resize an image without losing quality?
Shrinking always discards pixels, but the picture usually stays sharp at its new size. Keep the proportions locked, work on a copy, and avoid enlarging small images, because enlarging cannot add real detail.
How do I resize an image to a specific KB?
Use a size target rather than pixels. Open Dokurapi Compress Image, enter the limit such as 200 KB, allow shrinking if needed, and download the JPG. The tool aims 6% below the number you choose.
Does Dokurapi let me type exact pixel dimensions?
No. Compress Image works from a KB target. You choose whether it may shrink the pixels or must keep the original size. For exact dimensions use Paint on Windows or Preview on Mac first.
Does resizing change file size?
Yes, fewer pixels usually mean a smaller file. It is not an exact rule, because the format and the picture content also matter. In our test the same image reached 69.8 KB at 2400 x 1600 and 77.8 KB at 3000 x 2000.
How many pixels is a 3x4 photo?
At 300 dpi a 3 x 4 cm photo is about 354 x 472 pixels. Multiply centimetres by dpi and divide by 2.54. Our 3x4 photo size guide covers other common sizes.
Why did my image look blurry after resizing?
Usually because a small image was enlarged, or the file was compressed too hard. Go back to the original, shrink instead of enlarging, and use a higher KB target if the form allows it.
Can I resize a photo on my phone?
Yes. Open Dokurapi in your phone browser and use Compress Image for a KB target. Processing happens on the phone, so very large photos can take longer on older devices.

Sources

  1. Crop, resize, or rotate an image in Preview on Mac, Apple Support
  2. Draw, Create, and Edit with Paint, Microsoft Support
  3. Image file type and format guide, MDN Web Docs

Need help?Result not quite right, or unsure about a form rule? Ask Dokurapi support on WhatsApp. Please do not send personal documents in chat.

Chat on WhatsApp

Related articles

Try Dokurapi for Free

No account needed. Pick a tool, drop in a file, and download the result, free.