Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception #14

Open
jhwheuer opened this issue Apr 20, 2022 · 3 comments
Open

Exception #14

jhwheuer opened this issue Apr 20, 2022 · 3 comments

Comments

@jhwheuer
Copy link

Since I upgraded to the latest version of the ImageSharp adapter v.0.6.65, I am getting an exception when executing

SixLabors.ImageSharp.Configuration.Default.Configure(new TiffLibrary.ImageSharpAdapter.TiffConfigurationModule());`

I am getting this exception:

An exception of type 'System.TypeLoadException' occurred in xxxx.exe but was not handled in user code
Method 'Decode' in type 'TiffLibrary.ImageSharpAdapter.TiffDecoder' from assembly 'TiffLibrary.ImageSharpAdapter, Version=0.6.0.0

Just updated the versions, no code changed... ImageSharp is at 2.1.0. What am I missing?

@Elissen
Copy link

Elissen commented Jul 28, 2022

I ran into the same issue, but it appears to only happen is you have SixLabors.ImageSharp installed as well with version 2.1.0 or newer - independent of what version of TiffLibrary.ImageSharpAdapter I use(even 0.5.252). I downgraded SixLabors.ImageSharp to 2.0.0 and this resolved the issue for me.

@jhwheuer
Copy link
Author

I was afraid of that. Thank you Mark! I will let Jim @ ImageSharp know, maybe he's got some bandwidth to investigate...

@jhwheuer
Copy link
Author

Maybe look at the list of breaking changes in ImageSharp?
https://github.com/SixLabors/ImageSharp/releases/tag/v2.1.0
Might contain a hint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants