Multiscene files incorrectly reported
Posted: 2007-11-09T07:45:26-07:00
Using a Q16 build of IM-6.3.6-9 on Gentoo Linux.
I am using the following command to get the number of frames from a multiframe tiff file:
identify -format "%[fx:n]" Cube001.tif
What gets reported back is:
212121212121212121212121212121212121212121
Instead of the 21 that I am expecting.
This is not a string problem - image_info->number_scenes is actually being reported as this number. I know this because if I try to convert the file, I get an out-of-memory error when it tries to dimension the target. It is also not limited to TIFFs, I have tried it with multilayer IPL files too with the same results.
The tiff (21 frames, grayscale)
ftp://depot.aecom.yu.edu/pub/oiaTG2Heza ... ube001.tif
The ipl (21 frames, grayscale)
ftp://depot.aecom.yu.edu/pub/oiaTG2Heza ... ube001.ipl
Best,
Sean
I am using the following command to get the number of frames from a multiframe tiff file:
identify -format "%[fx:n]" Cube001.tif
What gets reported back is:
212121212121212121212121212121212121212121
Instead of the 21 that I am expecting.
This is not a string problem - image_info->number_scenes is actually being reported as this number. I know this because if I try to convert the file, I get an out-of-memory error when it tries to dimension the target. It is also not limited to TIFFs, I have tried it with multilayer IPL files too with the same results.
The tiff (21 frames, grayscale)
ftp://depot.aecom.yu.edu/pub/oiaTG2Heza ... ube001.tif
The ipl (21 frames, grayscale)
ftp://depot.aecom.yu.edu/pub/oiaTG2Heza ... ube001.ipl
Best,
Sean