[SOLVED] "Can not read TIFF directory count" - IM 6.5.5-2
Posted: 2009-09-08T21:15:51-07:00
Hello,
I've got a problem that's driving me up the wall. I downloaded and built IM 6.5.5-2 from source on Snow Leopard, and I am trying to process a TIFF file using convert. The TIFF file is a 32-bit colour TIFF which I'm resampling, unsharping, and changing to an 8-bit grayscale image as well as removing the alpha channel with +matte (the full command is convert testimage.tif -resample 600x600 -unsharp 7.4x3.0+3.0+0.0 -colorspace Gray -depth 8 +matte processed.tif, though the exact combination of options has no apparent effect).
About 3 out of every 5 times, I get an error:
The other ~2 times out of 5, the command works properly and the image is converted. This wouldn't be such a big problem if I wasn't relying on convert as part of a toolchain. I'd be happy to provide any information required to diagnose this problem, if someone has any ideas?
Thanks!
I've got a problem that's driving me up the wall. I downloaded and built IM 6.5.5-2 from source on Snow Leopard, and I am trying to process a TIFF file using convert. The TIFF file is a 32-bit colour TIFF which I'm resampling, unsharping, and changing to an 8-bit grayscale image as well as removing the alpha channel with +matte (the full command is convert testimage.tif -resample 600x600 -unsharp 7.4x3.0+3.0+0.0 -colorspace Gray -depth 8 +matte processed.tif, though the exact combination of options has no apparent effect).
About 3 out of every 5 times, I get an error:
Code: Select all
convert: Can not read TIFF directory count. `TIFFFetchDirectory' @ tiff.c/TIFFErrors/336.
convert: Failed to read directory at offset 4292. `TIFFReadDirectory' @ tiff.c/TIFFErrors/336.
convert: missing an image filename `processed.tif' @ convert.c/ConvertImageCommand/2806.
Thanks!