Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: Coder Error Reading TIFF Image with Group 4 Compression [1113]

$
0
0
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: dlemstra **

ImageMagick uses libtiff which seems to think that your badimage is incorrect. The XResolution(DPI) has a count of 2 but it should be 1: http://www.awaresystems.be/imaging/tiff/tifftags/xresolution.html. Opening the file with irfanview shows a DPI for GoodImage but not for BadImage. Maybe there is a bug in the software that created the tiff file?

Are you using the latests version of Magick.NET? Your exception seems to differ from mine.


Viewing all articles
Browse latest Browse all 1011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>