title: convert pbm -> tiff -> tiffcp -> tiff2pdf . Getting 5mm page
body: <p>I usually scan multi-page files, and I'm using an easy way.</p>
  
  <pre><code>for f in ???\.pbm; do 
     convert -compress Group4 $f ${f%pbm}tiff; 
  done;
  
  tiffcp *\.tiff o.tiff; 
  
  tiff2pdf o.tiff -o o.pdf
  </code></pre>
  
  <p>But this way I can get good TIFF and really bad PDF.</p>
  
  <p>Here are outputs of <code>identify</code>:<br>
  (similar for each page)</p>
  
  <pre><code>Image: o.tiff
  Format: TIFF (Tagged Image File Format)
  Class: DirectClass
  Geometry: 1248x1649+0+0
  Resolution: 72x72
  Print size: 17.3333x22.9028
  
  Image: o.pdf
  Format: PDF (Portable Document Format)
  Class: DirectClass
  Geometry: 17x23+0+0
  Resolution: 72x72
  Print size: 0.236111x0.319444
  </code></pre>
  
  <p>I tried to use density settings on all steps, but nothing helped me. Anybody knows where the mistake is? </p>