Reading TIFF CCITT Group 4 (scanned or faxed) images with MagickImage in C# throws MagickCoderErrorException. The exception message is shown below:
Magick:: Null count for "Tag 32934" (type 4, writecount -3, passcount 1).
'_TIFFVSetField' @ error/tiff.c/TIFFErrors/563
If the TIFF image is decompressed first, then the reading works fine. Anyone came across this error before and any suggestions on how to resolve this?
Thanks,
Sam
Comments: ** Comment from web user: Sthao **
Magick:: Null count for "Tag 32934" (type 4, writecount -3, passcount 1).
'_TIFFVSetField' @ error/tiff.c/TIFFErrors/563
If the TIFF image is decompressed first, then the reading works fine. Anyone came across this error before and any suggestions on how to resolve this?
Thanks,
Sam
Comments: ** Comment from web user: Sthao **
Sorry for the confusion. I was wondering if you could have ImageMagick checks the image metadata (DPI information?) first. If the image was created by a proprietary software that ImageMagick could not recognize or cannot find it, then just issue a warning and go ahead to convert it to the specified format. Just a thought. Thanks!