Troubleshooting · Output Quality
Black Edges on Scanned Pages? Clean Them Up in ScanTailor Advanced
Your processed pages come out framed by black or grey borders — the edge of the scanner lid, the shadow in the book gutter, or a strip of whatever surrounded the page during capture. ScanTailor can strip most of this out, and what it cannot remove automatically is almost always preventable at scan time.
The Symptom
- Black or dark bands along one or more sides of the output pages.
- A dark wedge near the spine side of book pages (gutter shadow).
- Grey borders that turn into heavy black frames after binarization — ugly on screen and expensive in ink if printed.
The Causes
ScanTailor processes what the capture contains. Black edges appear when the capture itself includes area beyond the page:
- Scanner surroundings: the scan area was larger than the page, so the lid, platen border, or the surface under a slightly lifted page got captured as dark pixels.
- Book gutter shadow: on bound books, the page curves down into the spine and the capture catches a shadow gradient along the gutter.
- Loose content selection: if the content box was left generous, everything inside it — edges included — survives into the output.
The Fix, Step by Step
1. Tighten the content box in Select Content
The Select Content stage decides what counts as “page”. If the automatically detected content area reaches into the dark borders, shrink or reposition the content box so it ends at the real page content, excluding lid edges and shadow bands. Apply the correction to the affected pages — pages scanned in one session usually share the same edge problem.
2. Let “Filling outside areas” clean the surround
ScanTailor Advanced has a dedicated Output-stage feature, Filling outside areas: pixels outside the page area can be filled instead of left as captured. Per the project’s README, it offers two modes — fill with the estimated background color of the page, or always fill with white. With the content area set correctly, this turns leftover dark surround into clean page background instead of a black frame.
3. Use Page Layout margins deliberately
Consistent margins in the Page Layout stage give the output a uniform canvas. Set margins so the content sits inside a clean border of background rather than hard against the surviving edge pixels, then re-run the output and inspect a few pages at full size.
4. Check the gutter pages separately
Gutter shadow is a gradient, not a hard edge, so treat stubborn spine-side pages individually: tighten the content box on the spine side for those pages rather than loosening it for the whole book.
Prevention — Fix It at Scan Time
- Match the scan area to the page: do not scan a small book on a full-platen setting with the lid surroundings exposed.
- Keep the book positioned the same way for every spread so any remaining edge is identical — identical problems are one fix, applied to all pages.
- Press bound pages as flat as the binding safely allows near the gutter to reduce shadow at the source.
- More capture-side guidance — placement, resolution and formats — is on the hardware and capture settings page.
Other output-quality issues are collected in the troubleshooting archive.
FAQ
Why do the borders look grey in the scan but black in the output?
Binarization forces every pixel to black or white. A mid-grey scanner edge crosses the threshold and becomes solid black. Cleaning the edge in Select Content and using “filling outside areas” removes it before that conversion happens.
Should I just crop the pages in an image editor afterwards?
You can, but you lose ScanTailor’s consistency: doing it in Select Content and Page Layout applies the same geometry to every page and keeps margins uniform across the whole book, which per-page manual cropping rarely achieves.
The dark band is only near the spine. Is that the same problem?
Related, but it is gutter shadow rather than lid edge. It needs the content box tightened on the spine side for the affected pages — step 4 above — and flatter positioning when you scan the next book.
