Why signature files get rejected
A phone photograph of a signature is mostly paper: a grey-brown sheet with a shadow across it and a few strokes of ink. Squeezed to 20 KB as it is, the paper takes the bytes and the strokes go soft. Cleaned first — paper made white, ink kept, the rest cropped away — the same 20 KB is spent almost entirely on the strokes.
- 1The paper level is estimated across the sheet and divided out, which removes shadows and tint.
- 2Ink is found with an adaptive (Sauvola-class) threshold: each pixel is compared with its neighbourhood, not with one global level.
- 3The baseline is straightened by testing small rotations and keeping the one that lines the ink up best.
- 4The ink is cropped with padding, then handed to the tuner as a lossless picture made on this device.
- 5The tuner fits the spec's pixels — padding, never stretching — and searches the byte range.
- Sign in dark ink — black or blue — on plain white paper, and photograph it flat in daylight.
- Fill most of the frame with the signature; a small signature in a big photo leaves fewer ink pixels to work with.
- Check the stroke edges at 400% in the tuner before you download.
Classical clean-up only.
The ink is found by an adaptive threshold, not by a model. Very faint pencil, ink the same tone as the paper, or a signature over printed lines can defeat it; raise or lower the threshold strength, or photograph it again on plain paper.
Questions people arrive with
Will my ink colour change?
JPG or PNG?
Why does my signature look blurred at 10 KB?
Can it make a signature from my typed name?
Elsewhere on this site
- Photo size in KB for formsThe photograph for the same form, from the same sourced specs.
- Photo and signature size for Indian formsEvery signature spec with its source and date.
- Check image size in KBCheck a signature file you already have.
