How to Compress Signatures & Passport Photos Under 20KB (Without Blurry Text)
Government exam portals, visa forms, and bank onboarding systems love enforcing brutal 10 KB–20 KB limits. Squeezing a 12-megapixel phone snap straight down to 20 KB destroys it—unless you shrink the pixel count first.

The Winning Formula
Never dump raw camera dimensions into a 20 KB target box. Follow Crop Tightly → Scale to 350–600 px → JPG Binary Search to 20 KB. With Vexelloom's built-in 1-click session continuity, your cropped file flows straight into the 20 KB Compressor in your browser with zero re-downloading or server uploads.
1. The Pixel Math Behind Blurry 20KB Files
A modern smartphone camera captures roughly 4000 × 3000 pixels—12,000,000 pixels in a single photograph. Trying to describe 12 million pixels inside 20 KB (163,840 bits) leaves about 0.013 bits per pixel. No encoder on earth can preserve sharp handwriting edges at 0.013 bits per pixel; it simply blurs every 8×8 block together.
Now crop away blank desk background and resize that signature strip to 400 × 150 pixels—just 60,000 pixels total. Suddenly the exact same 20 KB byte budget gives each pixel 200× more information (2.73 bits/pixel), making pen ink look crisp enough to inspect under zoom.
2. Portal Byte & Dimension Cheat Sheet
| Document Type | Typical Portal Limit | Sweet-Spot Dimensions | Recommended Preset |
|---|---|---|---|
| Handwritten Signature Scan | 10 KB – 20 KB (JPG) | 280×100 to 500×180 px | 20KB Cap |
| Exam / Admit Card Headshot | 20 KB – 50 KB (JPG) | 300×400 to 450×550 px | 20KB Cap / Resize Scale ~25% |
| Passport / Visa Portal Photo | 50 KB – 240 KB (JPG) | 600×600 to 900×900 px | 200KB Cap |
| Scanned ID Card / Marksheet | 100 KB – 300 KB (JPG/PDF) | 1000–1400 px long edge | 200KB Cap |
3. Three Silent Reasons Portals Reject Files Under 20KB
Bloated EXIF Headers
Unstripped camera metadata and embedded EXIF thumbnails can eat 4–12 KB by themselves—over half of a strict 20 KB allowance—before a single face pixel is stored. Canvas re-encoding automatically drops that baggage.
Wrong Aspect Ratio
Many passport systems enforce 1:1 (square), 3.5:4.5, or 3:1 signature strip ratios. Stretching breaks validation—crop to the portal's exact preset ratio first instead.
Transparent PNG Signature
Legacy government Java/PHP validators crash or turn transparent PNG backgrounds solid black. Sign with black/blue ink on plain white paper and export non-transparent JPG.
4. How to Photograph a Paper Signature Without Grey Shadows
Why do some 15 KB signature JPEGs look razor-sharp while others look muddy and pixelated? In JPEG compression, a smooth pure-white background (#FFFFFF) compresses to almost zero bytes per 8×8 block, leaving 95% of the byte budget for your pen strokes. If an overhead room light casts a diagonal phone shadow across the paper, the encoder wastes kilobytes trying to preserve the grey paper gradient:
1. Use 2× Optical Zoom Near a Window
Place unlined white paper near indirect window light. Step back 40 cm and switch your phone camera to 2× zoom so your hand and phone never cast a shadow over the ink.
2. Use Medium-Tip Black or Dark Blue Rollerball Ink
Ultra-fine 0.38mm ballpoint pens create thin, low-contrast strokes that disappear when downscaled to 140×60 px. A 0.7mm black or dark blue gel/rollerball pen stays legible even at 12 KB.
3. Signing a PDF Contract Instead of a Portal?
If you need to place your signature directly onto a PDF contract, NDA, or application form, skip the 20 KB raster upload and draw or stamp your signature directly in Vexelloom Sign PDF.
Do It in 45 Seconds (Zero Server Uploads)
- Open Crop Image and trim all empty paper margins around your signature—or apply a 1:1 Square / 4:5 Portrait frame around your face.
- Send or drop the tight crop into Compress Image to 20KB (already locked to JPG and
<= 20 KB). Lower the Resize Scale slider to 25%–40% if your original photo is huge. - Need exact pixel dimensions (for example
140 × 60 pxor600 × 600 px)? Dial them into Exact Pixel Resizer before compressing.