When scanned past exams are too light
When scanning past exams, older scanners may not allow you to specify density, causing the text to become light. So I wrote a script that can be used when you’ve scanned something but the text is too light to read. It just binarizes PDFs, but it works quite well like this. As preparation, install ImageMagick. wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz tar xvf ImageMagick.tar.gz cd ImageMagick-6.7.9-6/ ./configure make make install Once installed, write the following code to an appropriate file (here called ScanDataConvert....