yigolden / TiffLibrary

C# library for decoding and encoding Tag Image File Format (TIFF) files.
MIT License
58 stars 16 forks source link

ImageSharp 2.0 #13

Closed clcl0n closed 2 years ago

clcl0n commented 2 years ago

ImageSharp 2.0 breaks compatibility

Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll: 'Method not found: 'SixLabors.ImageSharp.Memory.IManagedByteBuffer SixLabors.ImageSharp.Memory.MemoryAllocator.AllocateManagedByteBuffer(Int32, SixLabors.ImageSharp.Memory.AllocationOptions)'.' at TiffLibrary.ImageSharpAdapter.ImageSharpMemoryPool.Rent(Int32 minBufferSize) at TiffLibrary.ImageDecoder.TiffImageDecompressionMiddleware.<InvokeAsync>d__6.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at TiffLibrary.ImageDecoder.TiffStrippedImageDecoderEnumeratorMiddleware.<InvokeAsync>d__11.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at TiffLibrary.ImageDecoder.TiffStrippedImageDecoderEnumeratorMiddleware.<InvokeAsync>d__11.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask.ThrowIfCompletedUnsuccessfully() at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter.GetResult() at TiffLibrary.ImageDecoder.TiffImageDecoderPipelineAdapter.<DecodeAsync>d__111.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at TiffLibrary.ImageDecoder.TiffImageDecoderPipelineAdapter.d11`1.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at TiffLibrary.ImageSharpAdapter.TiffDecoderCore.d81.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at TiffLibrary.ImageSharpAdapter.TiffDecoderCore.Decode[TPixel](Stream stream) at TiffLibrary.ImageSharpAdapter.TiffDecoder.Decode[TPixel](Configuration configuration, Stream stream) at TiffLibrary.ImageSharpAdapter.TiffDecoder.Decode(Configuration configuration, Stream stream) at SixLabors.ImageSharp.Image.Decode(Stream stream, Configuration config) at SixLabors.ImageSharp.Image.<>c__DisplayClass139_0.b0(Stream s) at SixLabors.ImageSharp.Image.WithSeekableStream[T](Configuration configuration, Stream stream, Func`2 action) at SixLabors.ImageSharp.Image.Load(Configuration configuration, Stream stream, IImageFormat& format) at SixLabors.ImageSharp.Image.Load(Configuration configuration, String path, IImageFormat& format) at Dam.Application.Services.ImageProcessingService.d6.MoveNext() in [/Users/patrikfrantisekbalaz/Git/digital-asset-management/src/Application/Services/ImageProcessingService.cs]():line 45 [10:57:37 INF] Executed DbCommand (16ms) [Parameters=[@__Hashes_0='?' (DbType = Object)], CommandType='Text', CommandTimeout='30'] SELECT EXISTS ( SELECT 1`