Replies: 3 comments
-
It might be an issue where you specify the wrong tag but it could also be an issue in the libtiff library. But I cannot help you without that file. Please respond here if you figure out what caused this,. |
Beta Was this translation helpful? Give feedback.
-
I used tiffinfo to get a list of all the unknown tags in the file and added them to ignore-tags and now I get a different error, so maybe when the exception said The exception I get now is
|
Beta Was this translation helpful? Give feedback.
-
It looks like you have a tiff file with corrupt data and ignoring the tags that are corrupt is not sufficient in your case. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Magick.NET version
Magick.NET-Q8-AnyCPU 14.6.0
Environment (Operating system, version and so on)
Windows 10
Description
When I try to load a TIF using
return new MagickImageCollection(stream);
I get the exceptionSteps to Reproduce
The image opens in other applications, so I assume Magick.NET is more strict about unknown tags. I tried to tell it to ignore the tag like this:
but I get the same exception. I also tried this
but I still get the same exception. I also tried
instead of passing the stream to the MagickImageCollection constructor but it didn't make any difference.
Images
I can't upload the problem TIF because it contains confidential data
Beta Was this translation helpful? Give feedback.
All reactions