Increase low-contrast pdf readability

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
despeckle
Posts: 1
Joined: 2013-01-27T12:36:47-07:00
Authentication code: 6789
Location: Novosibirsk

Increase low-contrast pdf readability

Post by despeckle »

How should I go about making a scanned pdf with light-grey background and darker grey letters more easily readable?
A page fragment for your reference: http://i.imgur.com/J5akirF.png
Already tried -contrast option and Fred's autolevel script, to no avail.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Increase low-contrast pdf readability

Post by fmw42 »

try my textcleaner script, and/or IM -brightness-contrast to adjust the contrast
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Increase low-contrast pdf readability

Post by snibgo »

A simple contrast-stretch works fine:

Code: Select all

convert J5akirF.png -set colorspace RGB -contrast-stretch 4x80% j.png
snibgo's IM pages: im.snibgo.com
Post Reply