It’s just a matter of finding a better quality PDF scan and then applying the series of commands to get a final output that is high contrast, cropped, straightened and sharpened. The example PDF file in the video is of terrible quality to begin with… and I wouldn’t normally bother with such a file (there are typically many alternative versions for the same piece on. Convert image to true black and white to save on printer ink/toner and increase readability)ĭepending on the quality of original PDF, this allowed me to increase the size of music staves by 10.7% on the final printed page, while also increasing readability due to maximum contrast and saving printer toner by removing unwanted/distracting scanning artifacts.Increase contrast by applying a black threshold to remove grey background.Deskew crooked pages (straightens up the page and reduces unnecessary margins).Crop white space borders to increase the size of usable content on tablets/e-readers.Crop unwanted scanning artifacts such as book comb bindings by defining a crop margin using a GUI. Each problem area above can be solved with the corresponding step listed here: For some time now I wanted to write a script to correct these problems as it is fairly straight forward using image manipulation tools like ImageMagick and Bash tools like parallel to take care of efficiently executing the same operation on hundreds of image files. These contain the following issues:Īs you can see, these problem areas not only waste printer toner, they also reduce the quality of printed material and create eye strain and readability issues. This included graded sight-reading course books with hundreds of pages of PDF scans. I have been printing many classical music pieces from which offers a collection of sheet music in the public domain. This not only makes them difficult to read on e-reader and tablet devices but also reduces the size of usable content on printed A4 pages. Anybody working with scanned documents faces this issue: Scanned PDFs are often low contrast, contain scanning artifacts such as book comb bindings, and are skewed and rotated somehow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |