← Back to All Photo Compression & QR Code Guides

How to Compress a Handwritten Signature Under 20KB & Remove Phone Shadows

Reviewed by CompressPhoto Biometric & Imaging Lab • • Standard Format: 560 × 180 px (140×60 ratio) (47 × 15 mm) — Target: 10 KB – 20 KB Strict

Civil service exams (SSC, UPSC, IBPS), visa portals, and digital banking forms require a scanned wet-ink signature between 10 KB and 20 KB. However, most applicants take a photo of their signature using a smartphone—creating an uneven gray or yellow paper shadow.

Why Phone Shadows Ruin Both Portal Compliance and File Size

A gray gradient shadow across paper forces the JPEG encoder to store thousands of color transitions, making a small signature weigh 85 KB+ while looking dirty. When you convert the paper background to pure #FFFFFF white, 90% of the image becomes uniform white blocks that compress to just a few kilobytes.

  • Adaptive Luminance Thresholding: Separates dark ballpoint or fountain pen strokes from the paper background.
  • Ink Contrast Boost: Enhances faint pen lines so your signature remains legible at 560×180 px (or 140×60 px).
  • Guaranteed < 20 KB Output: Easily hits 12 KB, 15 KB, or 19 KB depending on your portal requirements.

Frequently Asked Questions

How do I remove the gray background from a photographed signature?
Select the "Signature (< 20 KB)" preset in CompressPhoto. The built-in shadow cleanser automatically turns the paper pure white #FFFFFF while darkening your pen strokes.
Can I compress my signature between 10KB and 20KB for SSC/UPSC?
Yes. Pick 15 KB or 20 KB as your target ceiling and the 7-pass engine will lock the file right inside the required range.