On Sat, Dec 31, 2011 at 01:50:58AM -0800, David Griffith wrote:
Since several people here do this kind of thing, I figured I'd ask here.
I'm trying my hand at scanning stuff to PDF. The only thing I seem
to find for doing this in Linux is Simple Simple Scan. I'm scanning
in photo mode because text mode is unacceptably grainy. My problem
now is converting the resulting jpg into a pdf. ImageMagick is the
obvious tool for this, but no matter what I do, the resulting pdf is
grainy. How can I tell ImageMagick to not diddle with the quality?
For my archive, the scan workflow is:
- use scanimage to get a (set of) 600 dpi bilevel (monochrome) scan(s) at
A4 size
- deskew the scans using tiff_findskew, gm convert and pnmrotate
- convert tiff(s) to Fax G4 compression
- build a tar archive of the tiff(s) in case I need it later (e.g. OCR)
- use tumble to produce a (multipage) pdf from the tiff file(s)
- use cjb2 and djvm to create djvu a file
- dump the resulting tar, pdf and djvu files into a git repository
that is replicated over several machines (and also goes out to tape)
The above has, of course, been scripted appropriately since I'm lazy ;-)
Scripts available on request.
Kind regards,
Alex.
--
"Opportunity is missed by most people because it is dressed in overalls and
looks like work." -- Thomas A. Edison