이 페이지는 한국어로도 볼 수 있습니다.

How to remove the white background from a scanned stamp

Last updated: 2026-07-27

You scan a signature, drop it into a PDF, and a white rectangle comes along with it, blanking out the text underneath. The scan captured the paper as well as the ink, and the paper is opaque. Making that paper transparent is straightforward, but it fails often enough to be worth understanding what the tool actually does.

Background removal is a brightness test

The background removal in StickPDF inspects every pixel's red, green, and blue values. If all three are 245 or above, the pixel becomes fully transparent. If they fall between 215 and 245, the pixel is made partially transparent in proportion to how bright it is. Anything darker is left alone.

That middle band exists because of edges. Ink strokes do not stop at a hard boundary; they fade over two or three pixels. Cutting at a single threshold produces a jagged, aliased outline that is obvious when you zoom in. Fading the transition keeps the stroke looking like ink on paper.

Knowing the numbers turns guesswork into diagnosis. A background sitting around 230 will only go half-transparent, leaving a milky box. A background in the low 200s will not be touched at all. When removal "does not work," the problem is nearly always that the source background is not bright enough, not that the feature is broken.

Three things that ruin it

1. Shadows from phone cameras

This is the biggest one. Your hand and the phone itself cast a soft shadow across the paper that your eye barely registers, but which drops those pixels to 200-230. The result is a scan that cleans up beautifully on one side and leaves a grubby smear on the other. Put the paper near a window with indirect daylight and move yourself so the light arrives diagonally rather than over your shoulder. Shooting straight down under a ceiling light is the worst possible arrangement.

2. Colour casts

An easy trap, because the test requires all three channels to be bright. White paper photographed under warm indoor lighting typically comes out around R 252, G 250, B 228 — the blue channel alone collapses. Your eye reads it as plain white paper; the algorithm reads 228 and only fades it. Use your scanner's auto white balance, or neutralise the colour temperature in any image editor before importing, and the same file suddenly cleans up perfectly.

3. JPEG compression artefacts

JPEG works on 8×8 pixel blocks. Around a strong contrast edge — dark ink against white paper — it introduces ringing: faint ripples that were never in the original. Background that should be a uniform 255 ends up scattered across 249, 241, 253. Those values straddle the threshold, so some pixels vanish and their neighbours go half-transparent, producing a mottled halo that hugs the signature.

Scan to PNG instead. It is lossless, so white paper stays exactly white, and for line art with few colours the file size penalty is small. Note that re-saving an existing JPG as PNG does not help — the artefacts are already baked into the pixels. Rescanning is faster than trying to repair it.

How to check the result

After removing the background, drag the image over a block of body text for a moment. If the text reads through cleanly, you are done. If you see a white box or a cloudy grey border, it failed. Checking against blank margin space tells you nothing, because a bad result looks fine on white. Removal is reversible via 'Restore background', so there is no cost to experimenting.

When the ink itself is too pale

If a signature was written with a hard ballpoint or a stamp was pressed with insufficient ink, the strokes themselves may sit in that 215-245 band. Removing the background then makes the signature itself ghostly and semi-transparent. No threshold can separate pale ink from pale paper. The fix is upstream: use a gel pen 0.7 mm or wider, or re-ink the stamp and press straight down for three to five seconds over a couple of cushioning sheets.

Clean it once, reuse it forever

Once you have a version you are happy with, stop redoing the work. Use 'Copy' to put the cleaned image on your clipboard and paste it straight into the next document with Ctrl+V, or export a transparent PNG once and keep it. Transparent PNGs retain their transparency when embedded, so future documents need only a drag and drop.

Treat that file carefully: a ready-to-use transparent signature is exactly what someone needs to forge a document.

Finally, worth stating plainly: an image placed on a PDF is a visual mark, not a cryptographic signature or a notarised seal. What it is worth legally depends on your jurisdiction, the document type, and what the parties agreed between themselves.

Try it in StickPDF

← All guides