Page 1 of 1

Tiff conversion memory hog

Posted: 2008-07-18T12:36:41-07:00
by rubinsta
Hi

I'm trying to convert a large number of tiffs into a single pdf file. There are about ~300 tiffs at 80KB each. I'm using the command:

Code: Select all

$ convert *.tif one_file.pdf 
The process chews up all the computer's memory (2Gs!). Are there better, more efficient ways to accomplish this task other than a simple convert command?

I'm using IM 6.4.2 Q16 on Mac OS 10.5.

Thanks!

Re: Tiff conversion memory hog

Posted: 2008-07-18T12:51:50-07:00
by magick
Try this command:
  • convert -limit area 1mb *.tif one_file.pdf
Its slow but it will not hog your machine memory or processor.

Re: Tiff conversion memory hog

Posted: 2008-07-18T13:03:40-07:00
by rubinsta
Thanks for your quick response!

"-limit area 1mb" writes most of the process to disk cache? I tried it and it used less memory but not enough to make my computer usable while the command was processing.

I guess I'll write a loop to process to convert each tiff file to a pdf and then combine.

Thanks again!