20KB is not a typo. It is one of the strictest image size limits you will encounter outside of embedded systems or fax machines. For context, a typical smartphone photo is 3,000 to 8,000KB. A compressed 100KB portal photo is already 50 to 80 times smaller than the original. Getting to 20KB means compressing to 150 to 400 times smaller than what came off the camera. At that level of reduction, something has to give, and it is useful to know exactly what that something is before you submit.
For portrait photographs, 20KB at the original resolution produces visible JPEG blocking. The kind where smooth skin tones start showing patches and fine detail like hair and fabric texture becomes blurry. This is not a problem with the tool. It is a fundamental limit of what 20KB can hold for a complex, high-detail image. The thing to hold onto is that these portals display the photo at very small sizes, typically 100 to 200 pixels wide. At that display size, the compression is far less visible than it appears when you zoom in on the downloaded file. What looks rough at full size often looks perfectly readable at the size the portal actually renders it.
Why signatures compress to 20KB far more cleanly than photos
If the image you need to compress is a signature rather than a photograph, the 20KB limit is much less of a problem. A signature on a white background is exactly the type of image that compresses extremely well: large areas of solid white, simple dark strokes, limited color information. JPEG handles this type of content efficiently even at low quality settings. A clean signature scan at 300 pixels wide will typically reach 20KB with almost no visible quality loss because there simply isn't much information to begin with. The portals that impose 20KB limits for signature uploads understand this. The limit that feels brutal for a photograph is completely reasonable for its intended use case.
What happens when quality reduction alone is not enough
For very large or high-resolution source images, the tool cannot always reach 20KB through quality reduction alone. Even at the lowest quality setting that still produces a recognizable image, the output might still be 30 or 40KB for a full-resolution phone photo. When that happens, the tool steps the pixel dimensions down in fixed stages, roughly 75%, 50%, 35%, 25% and then 15% of the original size, re-running the quality search at each smaller size until it finds one that both fits 20KB and clears a minimum acceptable quality. This runs in a background Web Worker, so working through several attempts doesn't freeze the page. A dimensionally smaller image at a reasonable quality is more useful than a full-resolution image crushed to illegibility. If your portal specifies both a file size limit and a minimum pixel dimension, check those requirements before compressing. For portals that need slightly less aggressive compression, the compress to 50KB tool gives you more quality headroom while still meeting the most common strict government portal requirements. Since the tool now recompresses automatically when you change the target, comparing the two takes a single edit rather than starting over.