In-Depth Ultimate Guide
#image resizer#image compressor#photo size#passport photo#image format#exam photo

Photo Size, Format and Background: The Complete Guide

DocsSeva Team6 min read
A photo shown next to its file size, pixel dimensions, format and background settings

Key takeaways

  • Read the portal's error first: KB, pixels and format are three different problems.
  • Resize to the required pixels before you compress, not after.
  • Going under a KB minimum needs size added, not more compression.
  • Most Indian portals want JPG; convert PNG, WebP and AVIF first.

Most photo problems on an online form come down to four things: the file is the wrong size in KB, the picture is the wrong shape or size in pixels, it is in a format the portal will not take, or the photo itself needs fixing — a background, a rotation, a date stamp. This guide sorts those problems out one at a time and points you to the free DocsSeva tool, and the detailed guide, for each.

Start with the error message the portal gives you. "File too large" and "file too small" are about KB. "Invalid dimensions" is about pixels. "Invalid file type" is about format. Match the message to a section below and you will usually fix it in one step.

Quick answer: which tool do you need?

Your problemToolRead first
File is over the KB limitImage CompressorResize or compress?
File is under the minimum KBIncrease Image SizeWhy a portal says your photo is too small
Needs exact pixels, cm or inchesImage ResizerResize an image in cm
Needs an exact shape or framingImage CropCrop or resize?
Wrong format (WebP, PNG, AVIF)Image ConverterJPG, PNG or WebP?
Needs a white or plain backgroundBackground RemoverWhite background behind an ID photo
Passport photos to printPassport Photo8 passport photos on one A4 sheet

Get the file size (KB) right

Portals state a size window, such as "20 KB to 50 KB". Over the top of it, you need to compress; under the bottom, you need to add size. These are different jobs, and using the wrong one is the most common reason a photo keeps getting rejected.

Exam forms usually fix the pixel size and the KB range together. For those, use the exam pages, which set both at once: IBPS, SBI, SSC signature, UPSC, NEET and RRB NTPC signature.

Get the dimensions right (pixels, cm and DPI)

A form that asks for "3.5 cm × 4.5 cm" is really asking for a number of pixels at some resolution. Resize an image in cm without guessing shows the conversion and which DPI to pick. If the output came out a different size than you typed, the fit mode is usually the reason: wrong dimensions after resizing.

Get the format right

Most Indian government and exam portals accept only JPG. Phone screenshots are PNG and many websites save WebP, so the file can look fine and still be refused. Portal says invalid file type explains why, and the Image Converter turns PNG, WebP, AVIF, GIF, TIFF and similar files into JPG. iPhone photos in HEIC need one extra step on the phone first: share or export them as JPG, or set Camera > Formats to Most Compatible so new photos are saved as JPG.

Passport, ID and profile photos

Passport and ID photos add rules about background and framing. The Passport Photo tool crops to country sizes, replaces the background and lays copies out on an A4 sheet to print. Before you start, read which background colour to choose. If you only need the background changed, put a white background behind an ID photo; if the cut-out edges look rough, fix a background cut-out that looks wrong; and to decide what to download, transparent PNG or white background.

Product photos for online sellers

For Meesho, Flipkart or Amazon listings you want every photo the same size, on a clean background, and small enough to upload quickly. Clean white product photos without a lightbox, bulk resize to one size and bulk compress before listing cover the whole routine.

Fix the photo itself

A note on privacy

Some DocsSeva image tools work entirely inside your browser; others send the photo to our server, process it and delete it straight away. Each tool page says which applies before you upload anything. None of them needs an account, and none adds a watermark.

Frequently asked questions

My photo is the right size in pixels but the portal still rejects it. Why? Check the KB range and the format as well. A photo can have the right dimensions and still be over the KB limit, or be a PNG when the portal wants JPG.

Should I resize or compress first? Resize to the required pixels first, then compress if the file is still over the limit. Compressing first and resizing afterwards throws away quality twice.

Can I make a photo bigger in KB without changing how it looks? Yes. Increase Image Size can add padding the viewer ignores, or enlarge the picture itself; see enlarge or pad.

DocsSeva Team

Published on September 25, 2026

Browse all tools

38 free document tools, no account required.

Browse all tools

In-Depth Comparison

Fast, Advanced or Compatibility: picking an OCR mode

What the three Advanced OCR recognition modes really change, why the Advanced option is sometimes greyed out, and how your device quietly sets the accuracy ceiling.

DocsSeva Team7 min