站点介绍

Last month I spent half an hour helping a relative upload a handwritten signature into a government portal: the scan came out as a 380KB PNG and the form field wanted 20KB or less. Cropping screenshots and round-tripping through a chat app wrecked the quality first and still missed the cap. This page exists because of that evening - the target is preset to 20KB, you drop the signature in, and the file name tells you exactly what it shrank to.
A handwritten signature is dark strokes on white - extremely low detail density, which JPEG compresses spectacularly: a 1200×500 signature area at quality ~60 fits 20KB with clean stroke edges. The genuinely tricky case is a light pencil signature: low contrast makes compressed edges mushy, so trace over it with a darker pen first.
Document scans sit in between: a letter-size page at 1000px on the long edge with quality 55-70 keeps body text legible. A full page of dense fine print simply will not fit 20KB - do not force it; the 100KB page is one pill away.
If 8 binary-search rounds bottom out at quality 0.30 and the file still misses, the content is too dense - so the engine multiplies resolution by 0.85 and reruns the full search, up to 6 steps (roughly 38% of the original size). Signatures almost never need this; for photos it is the fallback path: a 4K photo walks it to the end, then the red badge says the honest minimum is around 64KB, and you decide whether to crop, relax the target, or switch tiers.
Signatures are thin dark strokes on white - the easiest content to compress hard. Pick JPG output and let the binary search run: the browser tries up to 8 quality levels to find the highest one that fits 20KB, then automatically scales the resolution down to 85% and retries if needed (800-1200px is plenty for any form field). If your signature was drawn in light pencil, trace over it with a darker pen before compressing - low contrast is what makes compressed edges look mushy.
Not the typical kind. Text scans are mostly flat white space, which JPEG handles well: a standard letter-size scan at 1000px on the long edge with quality 55-70 usually lands under 20KB with readable text. A full page of dense fine print (contract clauses) genuinely will not fit - the tool tells you the minimum size it reached instead of pretending, so you do not submit an illegible legal document.
Depends on transparency. If the icon sits on a colored interface and needs a transparent background, choose PNG - but PNG is lossless, so hitting 20KB usually forces the resolution way down. If transparency is not required, JPG at the same dimensions is dramatically smaller and hits the target easily. Try JPG first; come back to PNG only when the transparency actually matters.
Usually no, and the tool will not pretend otherwise. A 4000x3000 photo squeezed to 20KB means dropping to a couple hundred pixels wide - faces stop being recognizable. When that happens the page shows an honest red badge with the minimum size reached and hands you the smallest usable result. For photos, switch to the 100KB or 200KB page using the pills at the bottom - one tap.
The engine binary-searches quality (up to 8 rounds), then automatically steps the resolution down to 85% and tries again, up to 6 steps. If it still misses, you get a red honest badge showing the smallest size reached. Your options: crop away dead space, relax the target to 50KB (bottom pill goes straight there), or accept the minimum size shown.
No. Decoding, compression and download all happen inside this device's browser - there is no upload endpoint, and it works offline. Only your size and format preferences live in this browser's localStorage; they do not follow you to another device, and "Clear my data" in the footer wipes them.
中文版:https://www.9314.cn/tools/compress-jpg-20kb/
评论列表 (0条)