How to use Resize Image in KB and Pixels
- Choose a photo or scan.
- Type the Width and Height in pixels. The defaults are 600 and 800.
- Choose a Fit: Crop to fill, Fit with margins or Stretch. With margins, pick a Margin colour.
- Set the Minimum size and Maximum size in KB (defaults 20 and 100). Add a DPI to write if the form asks for one.
- Pick a Format (JPEG suits nearly every form) and tick Pad to the minimum KB if needed if your file may come out too small.
- Press Resize and download the file, named with its new pixel size.
What it does and when to use it
Many online forms check two things at once: the image must be exactly a certain size in pixels and its file must sit inside a KB window. Doing that by hand means resizing in one app, then saving again and again at different qualities until the number is right.
This tool does both together. Use it when:
- A government or recruitment form gives you something like “200 × 230 px, 20–50 KB”.
- A university or visa portal asks for a photo at set pixels with a maximum file size.
- An internal system wants every staff photo at one size for a directory.
- You need a scan at a fixed size and DPI for a print template.
If the form only gives a maximum size and no pixel dimensions, the simpler pages such as Compress Image to 50 KB are quicker. If the form names a particular exam, check for a ready-made page like the IBPS Photo & Signature Resizer, which has the official numbers built in.
How it works
Everything runs on your device in a background worker.
- Exact pixels first. The image is brought to your width and height. Crop to fill trims the edges, keeping a little more of the top than the bottom so heads are not cut. Fit with margins shrinks the image to fit and fills the gaps with your colour. Stretch simply forces the size.
- Transparency. For JPEG, any transparent areas become white first, since JPEG cannot store transparency.
- Quality search. The tool tries the highest quality. If the file is over your maximum, it searches between that and a floor of 30% quality, halving the gap each try, and keeps the best quality that fits. It never changes your pixel size to hit the target.
- The minimum. If the result is below your minimum, the tool either pads the JPEG (if you ticked the option) or tells you clearly.
- DPI. If you typed a DPI, it is written into the JPEG or PNG header.
Worked examples
600 × 800 px, 20–100 KB, from a landscape photo. A 4,000 × 3,000 px landscape photo is wider than the 3:4 portrait shape. With Crop to fill, the tool keeps the full height and a 2,250 px wide slice from the middle, then scales that to 600 × 800. It then lowers the JPEG quality only as far as needed to get under 100 KB, and the result line reports the quality it used.
200 × 230 px, 20–50 KB. This is a common photo size on Indian recruitment forms. A picture this small has only 46,000 pixels, so even at top quality it may come out below 20 KB. Tick the padding option and the file is raised to the minimum without touching the image.
A document at 1,240 × 1,754 px, 300 DPI, under 200 KB. Choose Fit with margins so no part of the page is cut, white margin colour, and type 300 in the DPI box. If 200 KB is out of reach, the tool says so and shows the smallest it managed.
Limits and tips
- Some targets are impossible. Very large dimensions with a tiny maximum cannot work, because the tool will not drop below 30% quality or change your pixels. Pick smaller dimensions or a plainer picture.
- Padding is JPEG-only. For WebP and PNG, a too-small file is reported rather than padded.
- PNG ignores quality. PNG is lossless, so the KB limit can only be met if the picture is simple, such as a signature or a chart.
- Noise costs bytes. Grainy low-light photos and busy backgrounds make bigger files. A plain wall and good light help a lot.
- Need only a resize? The Image Resizer changes pixels without any KB target. Need only the crop? Use the Image Cropper first, then come back here.
Frequently asked questions
How is this different from the compress-to-size tools?
Why would a form ask for a minimum file size?
What does padding do?
Which fit should I choose?
What is the DPI box for?
Does 1 KB mean 1,000 or 1,024 bytes here?
How do we know nothing is uploaded? Test it yourself on the privacy proof page.