Every digital picture is a grid of tiny dots called pixels. When a form or a website says “upload an image of 600 × 400 pixels”, it means a grid exactly 600 dots wide and 400 dots tall. The first number is always the width, the second is the height.
Resizing by pixels is easy when your photo already has the same shape as the size you need. It gets tricky when it does not, and that is where most squashed faces and chopped-off heads come from. This guide covers both.
Resize to exact pixels in three steps
- Open Resize image and add your photoJPG, PNG and WebP all work, on a phone or a computer.
- Keep “Pixels” selected and type the width and heightCopy the numbers exactly as the form or website gives them, width first.
- Choose what to do if the shape is different, then press “Resize image”You get a JPG at exactly the size you typed. The next section explains the three choices.
Set an exact width and height in pixels, cm or inches, with an optional KB limit. Free, no sign-up, and the file never leaves your device.
When your photo is a different shape
A phone photo held upright is tall and narrow. A size like 600 × 400 is wide and short. You cannot fit one into the other without giving something up, so the tool asks you what to give up:
- Fill and trim the edges. The photo is scaled until it covers the whole size, and whatever sticks out is cut off evenly from both sides. There are no white bars. Best for profile pictures, thumbnails and banners, where a full frame matters more than the edges.
- Fit inside, add white bars. The whole photo is kept and shrunk until it fits, and the leftover space is filled with white. Best for documents, signatures and products, where nothing may be cut off.
- Stretch to exact size. The photo is pulled to the new shape. Fine for plain patterns or backgrounds. Avoid it for people, because faces come out fat or thin, and a checker will notice.
The form gives centimetres, not pixels
Exam and job forms usually describe photos in centimetres, like 3.5 × 4.5 cm, because they were written with printed photos in mind. Screens only understand pixels, so the cm have to be converted. The link between the two is DPI, dots per inch:
You do not have to do this sum. In Resize image, switch “Size in” to Centimetres (or Inches), type the sizes from the form, and set the DPI. 200 suits most forms. If the notification names a DPI, use that one. Dekiko converts it to pixels and also writes the DPI into the JPG, so the photo prints at the right size too.
If you would like to see the numbers first, the photo size calculator on our homepage works out any cm size at any DPI.
Making images smaller vs bigger
Resizing down, from a large photo to fewer pixels, is safe. The picture keeps its detail and the file gets lighter.
Resizing up is different. If you take a 300-pixel-wide image and ask for 1200 pixels, the tool has to invent the missing dots by blending the ones around them. The result has the right size but looks soft. A few things help:
- Go back to the original photo in your gallery instead of a copy someone sent you on WhatsApp, which is usually already shrunk.
- For a scan, rescan at a higher DPI rather than enlarging a small one.
- If the form only needs a minimum file size and not more pixels, use Increase image size in KB instead. It makes the file heavier without enlarging the picture.
Quick answers for common jobs
| You need | Use | Settings |
|---|---|---|
| An exact pixel size for a website or app | Resize image | Pixels, your width and height, Fill and trim |
| A passport-style photo for a form | Photo for exam form | The cm size and KB range from the notification |
| A signature for a form | Resize signature | Starts at 3.5 × 1.5 cm and 10 to 20KB |
| Prints of passport photos on one sheet | Passport size photo | Choose the photo size and paper |
| Only a smaller file, any pixels | Compress image | Just the maximum KB |
Your photo is not uploaded
Resizing feels harmless, but the photos people resize are often their face, their ID or their child’s school photo. Most resizing websites upload them to do the work.
With Dekiko the resizing happens on your own device, even with the internet switched off once the page has loaded.
Questions people ask
Will making a small image bigger in pixels make it sharper?
No. Enlarging adds pixels but not detail, so a small photo blown up looks soft. Start from the largest original you have, and resize down to the size you need.
What is the largest size I can set?
Up to 8000 pixels on each side. That covers posters and large prints. The smallest is 10 pixels.
Can I resize several photos to the same pixels?
Yes. Add them all at once and each comes back at exactly the width and height you typed.
Does the resized photo keep its DPI?
When you work in centimetres or inches, the DPI you choose is saved inside the JPG, so it prints at the size you asked for. In pixel mode DPI does not matter for screens or uploads.
I also have a KB limit. Do I need a second tool?
No. Resize image has optional minimum and maximum KB boxes. Fill in the limit and you get one file that meets the pixels and the KB together.