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?
Can't create multipage TIFS with thousands of pages
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Can't create multipage TIFS with thousands of pages
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
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.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Can't create multipage TIFS with thousands of pages
Do you have MAGICK_TIME_LIMIT set?
Re: Can't create multipage TIFS with thousands of pages
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.