Page 1 of 1

How to improve processing time ??

Posted: 2015-09-29T08:25:04-07:00
by Antoine4851
Hi,

I'm extracting pages from a big TIF and creating new files with. But it's taking a long time !!!

For example, for creating a files with the first 50 pages from a TIF of 1500 pages, it's taking around 15 minutes with the command below:
convert in.tif[0-49] out.tif


Thanks

Antoine

Re: How to improve processing time ??

Posted: 2015-09-29T11:06:42-07:00
by snibgo
How many pixels in each page? What is the computer bottleneck: CPU, memory or disk? Maybe you are running out of memory.

Re: How to improve processing time ??

Posted: 2015-09-29T11:10:59-07:00
by fmw42
Do you have multiple cores and is OpenMP enabled? Be sure the have lots of tmp space, also.

Re: How to improve processing time ??

Posted: 2015-09-29T16:12:45-07:00
by magick
Its likely ImageMagick is running out of memory so it caching the TIFF images to disk-- which is a performance killer. It works but is slow. Your choices are to accept the slow turn-around, get substantially more memory, or use some other utility.