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!