Convert multi-page tif to individual tifs
Posted: 2015-06-28T04:23:47-07:00
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.
The following does produce the expected individual bmp files.
Thanks for any pointers you can provide.
Bob
Code: Select all
convert -verbose scan0001.tif output%d.tif
scan0001.tif[0] TIFF 1286x1996 1286x1996+0+0 8-bit TrueColor sRGB 39.94MB 0.094u 0:00.097
scan0001.tif[1] TIFF 2046x1376 2046x1376+0+0 8-bit TrueColor sRGB 39.94MB 0.078u 0:00.090
scan0001.tif[2] TIFF 1806x2256 1806x2256+0+0 8-bit TrueColor sRGB 39.94MB 0.078u 0:00.082
scan0001.tif[3] TIFF 1287x2045 1287x2045+0+0 8-bit TrueColor sRGB 39.94MB 0.047u 0:00.059
scan0001.tif[4] TIFF 940x1302 940x1302+0+0 8-bit TrueColor sRGB 39.94MB 0.000u 0:00.017
scan0001.tif=>output.tif[0] TIFF 1286x1996 1286x1996+0+0 8-bit TrueColor sRGB 39.99MB 0.078u 0:00.083
Code: Select all
convert -verbose scan0001.tif output%d.bmp
scan0001.tif[0] TIFF 1286x1996 1286x1996+0+0 8-bit TrueColor sRGB 39.94MB 0.063u 0:00.060
scan0001.tif[1] TIFF 2046x1376 2046x1376+0+0 8-bit TrueColor sRGB 39.94MB 0.047u 0:00.053
scan0001.tif[2] TIFF 1806x2256 1806x2256+0+0 8-bit TrueColor sRGB 39.94MB 0.047u 0:00.045
scan0001.tif[3] TIFF 1287x2045 1287x2045+0+0 8-bit TrueColor sRGB 39.94MB 0.031u 0:00.033
scan0001.tif[4] TIFF 940x1302 940x1302+0+0 8-bit TrueColor sRGB 39.94MB 0.016u 0:00.024
scan0001.tif=>output-0.bmp[0] TIFF 1286x1996 1286x1996+0+0 8-bit TrueColor sRGB 7.705MB 0.016u 0:00.059
scan0001.tif=>output-1.bmp[1] TIFF 2046x1376 2046x1376+0+0 8-bit TrueColor sRGB 8.449MB 0.031u 0:00.071
scan0001.tif=>output-2.bmp[2] TIFF 1806x2256 1806x2256+0+0 8-bit TrueColor sRGB 12.23MB 0.063u 0:00.104
scan0001.tif=>output-3.bmp[3] TIFF 1287x2045 1287x2045+0+0 8-bit TrueColor sRGB 7.902MB 0.078u 0:00.115
scan0001.tif=>output-4.bmp[4] TIFF 940x1302 940x1302+0+0 8-bit TrueColor sRGB 3.672MB 0.078u 0:00.124
Bob