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
How to improve processing time ??
-
- Posts: 6
- Joined: 2015-07-21T02:45:54-07:00
- Authentication code: 1151
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: How to improve processing time ??
How many pixels in each page? What is the computer bottleneck: CPU, memory or disk? Maybe you are running out of memory.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to improve processing time ??
Do you have multiple cores and is OpenMP enabled? Be sure the have lots of tmp space, also.
Re: How to improve processing time ??
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.