Page 1 of 1

Can't create multipage TIFS with thousands of pages

Posted: 2016-11-01T12:19:50-07:00
by Monobot
Hi, I am using ImageMagick to convert 5000 single page TIFFs to 1 multipage TIFF using -adjoin. I have set the temp files to go to a drive with nearly 200 GB free space, using -define registry:temporary-path=(path). The issue is, that once the temp files hits a certain number, the temp files themselves seem to disappear before all of the temp files for the 5000 pages has been created. The resulting multipage TIF ends up missing many hundreds of pages. I have played with various settings like -limit file, -limit memory, -limit map, and others, but this has not helped. In some cases it has made it worse.
This only happens with files that are over about 3500 pages. My convert command works fine for files under that page count. Are there other settings to try to convert these files, or is there an actual limit to the number of pages in a multipage TIF that I can create using ImageMagick?

Re: Can't create multipage TIFS with thousands of pages

Posted: 2016-11-01T12:22:41-07:00
by fmw42
What is your IM version and platform? Have you checked to see that you have no limits on the directory that you are using for the temporary-path? Does your platform limit the number of files in a directory?

Re: Can't create multipage TIFS with thousands of pages

Posted: 2016-11-01T12:32:13-07:00
by Monobot
ImageMagick-6.8.3-10-Q16-x86-dll; Windows Server 2008 R2 Enterprise. I have folders with tens of thousands of files. So, I don't think it's an issue with the windows limit of files in a folder.

Re: Can't create multipage TIFS with thousands of pages

Posted: 2016-11-01T13:41:25-07:00
by fmw42
Do you have MAGICK_TIME_LIMIT set?

Re: Can't create multipage TIFS with thousands of pages

Posted: 2016-11-01T14:13:02-07:00
by Monobot
Ha! I just downloaded the latest version of ImageMagick, and it worked. Thank you for asking me what version I was using; made me think I should grab the latest version. FYI, I had not touched the MAGICK_TIME_LIMIT; but when I ran "identify -list resource" in CMD, it showed: time: unlimited. Thank you so much for responding to my questions.