Mobile app version of vmapp.org
Login or Join
Vandalay110

: How to convert old scanned documents into black and white I have some old documents that have been scanned, and I want to convert them to black and white. Content should be always black, and

@Vandalay110

Posted in: #AdobePhotoshop #Gimp #Scanning

I have some old documents that have been scanned, and I want to convert them to black and white. Content should be always black, and background white:



I use Photoshop.

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay110

5 Comments

Sorted by latest first Latest Oldest Best

 

@Michele215

Just try with photoshop. grey scale mode.

10% popularity Vote Up Vote Down


 

@Kevin459

With GIMP:


Open a file.
Convert your document to grayscale: Image → Mode → Grayscale.
Select the background color: Select → By Color, click with mouse pointer on the color of the background.
Invert the selected color: Select → Invert.
Copy the selection: Edit → Copy.
Create a new file: File → New.
In the dialog of a new file, in field: Advanced Options choose: Fill with: White, hit Ok.
Click anywhere in the window of the new opened document, just to choose it.
Paste the content of a clipboard: Edit → Paste.
Add a new layer to enhance the black text: Layer → New from Visible, in the layer's palette, in field: Mode: choose Multiply.
Combine two layers: Layer → Merge Down.
Save the result as a JPEG file: File → Export As, choose jpeg and set the quality at least 60.

10% popularity Vote Up Vote Down


 

@Gloria351

I tried various mentioned methods incl. free FineThreshold www.mehdiplugins.com/english/finethreshold.htm plugin. This plugin produces good results quickly provided that the document is homogenously lighted and the paper itself is also of homogenous quality.
However this was not my case. I experienced that the upper side of every document was more light than the bottom. Consequently, every method and its partial setting worked well only for the part of every page and not for the rest of it.

Eventually I found the effect "Dynamic Thresholding" which is part of Zoner Photo Studio v15. Its eval version is free for some period, I guess. It seems to offset the b/w threshold according to the neighbourhood lightness. Its application is one-step process only. For me the parameters "Large, value +14" worked very well. Beside "Editor" Zoner contains also the "Manager" interface in which you can process the batch over all selected images. In the end I was able to print the result on the very old 300 dpi laser printer with excellent contrast.

Now, the only remaining task for which I am looking is automatic CROP of every image in an inteligent manner to cut-out the unnecessary margins. Any hints are welcome because manual cropping is boring as well as time consuming.

10% popularity Vote Up Vote Down


 

@Radia289

You mention Photoshop, but in case you are interested there's also a GIMP plugin that does advanced grayscale cleaning and processing:


Removes speckles
Fills white pores on black ink
Removes specific user defined shapes
Has damaged lineart regeneration
Topological decomposition


It's called Nuvola Tools, and it's mainly focused on scanned art, but you might want to give it a try.

Before:



After:



Source: GIMP Plugin Registry

10% popularity Vote Up Vote Down


 

@Hamm6457569

If you have control over the scanning, or can get them rescanned, increase the contrast setting in the scan and set the black point at the darkest bit of text you can find. That would make the steps below easier. If not, read on...

Here's part of a fairly typical old document scan:



The details will be different depending on the document (this has somewhat higher contrast than your sample, for example) but the broad outline will be the same.


Convert to grayscale using a Black and White adjustment layer. Use the Targeted Adjustment Tool ("Scrubby") in the adjustment layer panel to lighten the background (scrub to the right) and darken the text (scrub to the left) as much as you can.




Notice that the yellows slider is far to the right, lightening the yellowish background. I was able to darken the text only a little.


Use a Levels adjustment layer to increase the contrast.




This gets you 95% of the way there. A scanned document typically has a histogram with a large lump toward the right (the paper) and a smaller lump toward the left (text). You'll have to experiment with your documents to find the right settings.

From this point, you can duplicate the image, flatten the duplicate, and use your regular Photoshop retouching tools to clean up the remainder.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme