The main problem (the image is not readable) could be a libtiff issue.(?)
But the crash in ImageMagick probably should be fixed, yes..
Some additional details:
The crash in Windows happens in the JPG module (core_rl_jpeg_.dll).
And my (rather old) standalone version of libtiff reports these errors (apart from the 'unknown tags' warnings):
Code: Select all
JPEGLib: Warning, Application transferred too many scanlines.
crash.TIF: Error, can't read strip 0.
Maybe someone can check it with a new libtiff version?
Perhaps a missing YCbCrSubSampling tag causes this crash. (Would be strange though, as there are YCbCr images without a correct tag that can get read in IM - with just a warning IIRC. But these were Old JPG in TIFFs, I think..)
Anyway, the above file uses 2x2 subsampling. And when the YCbCrSubSampling tag is added, the crash in IM is gone. Take this version with modified tags:
nocrash.TIF (Link deleted)
But even then, the image can't be read with IM/libtiff (one gets a black image). The IM error message then says:
Code: Select all
Magick: fractional scanline not read. `crash3.TIF' @ warning/tiff.c/TIFFWarnings/704.
Maybe libtiff doesn't treat correctly the 2x2 subsampling in TIFF and treats it somehow as if it had no (=1x1) subsampling? But that's just speculation..