Roland's homepage

My random knot in the Web

Making a PDF from scanned B/W pages

First, scan the pages at 300 dpi. Save the scanned images in pnm format. Convert them to a multipage tiff file with ImageMagick:

convert -adjoin -density 300x300 -colors 2 `ls *.pnm` output.tiff

Convert the tiff file to pdf format:

tiff2pdf -r300 -o output.pdf output.tiff