Exam boards, job portals and government services often ask for files between two sizes, for example a photo of 20 KB to 50 KB and a signature of 10 KB to 20 KB. The minimum is there to stop people uploading tiny, unreadable thumbnails. For most portals, the check is just the file size, which is why padding works.
Check the other rules too
If the form also lists a width and height in pixels or a DPI, meet those first with the image resizer. A file that is the right size in KB but the wrong size in pixels may still be rejected, or worse, accepted and rejected later by a person checking it.
Too big and too small?
If you have a range like “10 KB to 20 KB” and your photo is 300 KB, first bring it down with compress to 20 KB. Only use this tool if the compressed file then falls below the minimum.
Start from a good photo
A photo that is very small in KB is often also small in pixels or already heavily compressed, for example a copy saved from a chat app. If you still have the original from your camera, use that instead. It will usually be above the minimum already, and it will look better.