If you've ever built or used an application form with a photo upload, you've seen rules like this:

Upload photo in JPG/JPEG format only. File size: 20 KB to 50 KB.

Most people expect the "too big" error. The surprising one is "too small", and it shows up a lot right after someone converts a PNG or screenshot to JPG.

What actually happens during conversion

A PNG is lossless. A JPG is lossy: the encoder splits the image into 8×8 blocks, runs a DCT on each, and throws away detail based on a quality setting. Most converters (phone apps, online tools, even "Save as" dialogs) default to a quality around 75–85.

For a small image like a 200×230 passport photo, that's enough to bring the file down to 8–12 KB. The photo looks fine on screen, but the byte count is below what the form's validator checks for.

Why the usual workarounds fail

  • Renaming .png to .jpg: the extension changes, the bytes don't. Any server that checks the file signature (FF D8 FF for JPEG) rejects it.
  • Upscaling the image: file size grows, but the dimensions no longer match the notice and the face gets soft.
  • Converting again in another app: same default quality, same small file.

What works

Re-encode the same image as JPEG at a higher quality, keeping the width and height unchanged. Higher quality means smaller quantization steps, which means more bytes, until the file lands inside the allowed range.

If you don't want to do it by hand, Increase Photo Size is a free tool that does exactly this: upload the JPG, type a target like 35 KB, and download. The output stays a real JPEG, so it passes both the size check and the format check. It runs in the browser and needs no sign-up.

Tips if you're on the form-building side

  1. Show the user's current file size in the error message ("Your file: 9 KB, required: 20–50 KB"). It saves a lot of confusion.
  2. Accept .jpg, .jpeg and uppercase variants. Rejecting .JPG causes more support tickets than you'd think.
  3. Be clear whether 1 KB means 1,000 or 1,024 bytes, or just give a little margin on both ends.

Small files are rarely the problem people expect, but they're one of the most common reasons an otherwise perfect upload gets rejected.