Published 22 August 2026 · 7 min read
Application portals are unusually strict about photographs, and unusually unhelpful about explaining why. "Photo size should be between 20KB and 50KB." "Dimensions must be 200x230 pixels." "Invalid file format." You resize, it is still rejected. You compress, now it is too small. This is one of the most common and most frustrating tasks on the internet, and it is entirely solvable once you know what is being asked.
Almost every rejection is one of these, and they are independent — satisfying one can break another, which is why the process feels circular.
The circularity trap: you shrink dimensions to hit the KB limit, and now the dimensions are wrong. The fix is to set dimensions first, then hit the KB target with compression quality — not by shrinking further.
A 20KB ceiling looks absurd when phones produce 5MB photographs. The limits are usually old, set when the system was built and storage and bandwidth cost real money, and they persist because changing a validation rule in a government system is harder than leaving it. Some are also sized for the printed output — a passport photo printed at 35×45mm does not need eight megapixels.
Understanding that helps, because it tells you the goal is to satisfy a validator, not to preserve quality. A photo that looks slightly soft on screen but passes is a success.
Resize image to exact size does all four in one pass: enter the dimensions, enter a maximum file size in KB, choose the format, and it works out the quality setting needed to land inside the limit.
The photographs these forms want are passport photos, signatures and identity documents — the single most sensitive category of image most people own. Uploading a passport photo to an anonymous "image resizer" to satisfy a government form is a poor trade.
The resizer and the passport photo validator both run entirely in your browser, so the image is never transmitted. You can confirm that yourself in the Network tab.
Resize Image to Exact Size — runs in your browser, nothing is uploaded.
Set the pixel dimensions the form requires first, convert to the required format (usually JPG), then lower the compression quality until the file is under 50KB. Shrinking dimensions further is the wrong lever once the dimensions are already specified.
Many portals enforce a minimum as well as a maximum — for example between 20KB and 50KB. Over-compressing pushes you below the floor. Raise the quality slightly until you land inside the range.
No. The extension does not change how the file is encoded, and the validator reads the actual format. You have to convert the image properly.
Because the required dimensions have a different aspect ratio from your original, and resizing to exact numbers without cropping distorts the image. Crop to approximately the target ratio first, then set the exact dimensions.
Most upload your image to a server. For an identity document that is worth avoiding — use a tool that processes the image in your browser so it is never transmitted.