Exception
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?
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.
I was afraid of that. Thank you Mark! I will let Jim @ ImageSharp know, maybe he's got some bandwidth to investigate...
Maybe look at the list of breaking changes in ImageSharp? https://github.com/SixLabors/ImageSharp/releases/tag/v2.1.0 Might contain a hint