Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
I believe the following should work but all it produces is a copy of the original multi-page tif. I have used verbose just in case it helps. The final line of the verbose output would suggest that the resulting file would be the first image in scan0001.tif, but it really is a tif with all 5 images.
Just wondering if in fact I have stumbled upon a bug. Reading up on +adjoin:
In summary, ImageMagick tries to write all images to one file, but will save to multiple files, if any of the following conditions exist...
1. the output image's file format does not allow multi-image files,
2. the +adjoin option is given, or
3. a printf() integer format string (eg: "%d") is present in the output filename.
So shouldn't the fact that I included %d in the output file name meant that condition #3 should have "automagically" enabled +adjoin?
I just tried the command of your first post and I am getting separate files. I was not aware that using %d would also prevent the writer from writing a single file. Which version of ImageMagick are you using and what is your OS?
That is true, when using BAT script files. From the command line, it is false. If typed at the command line, it would create a file named "output%d.tif".