Hi,

I've been sucessfully using a simple bash script to convert scanned images of 
documents to pdf files:

#! /bin/bash
echo Enter Input and Output File names \(*.bmp output.pdf\)
read INPUT OUTPUT
/usr/bin/convert $INPUT -quality 80 $OUTPUT

For a smaller number of images, it works relatively quickly.  With a larger 
number of images it seems to create a 114Mb file for each image to be added 
in /tmp.  If I make sure there is enough room on the partition for (I use a 
symbolic link) it works for relatively large numbers of images, say up to at 
least 50.  For large jobs of over 100 images for example, it creates the 
files in /tmp, but fails at some point when it tries to write the pdf.

Besides it failing, another problem is that the compter is almost unusable 
when convert is running.  Does anyone have a suggestion of how to recursively 
add each new image to the pdf?  I haven't been able to do it, using convert 
to joint two pdfs results in an unreasonably large file and also seems slow.

Thanks for any suggestions,

Chris

-- 
C. Hurschler
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to