Skip to content

Instantly share code, notes, and snippets.

@decriptor
Created July 26, 2019 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save decriptor/9d25446af414cac1bd29f41c84052237 to your computer and use it in GitHub Desktop.
Save decriptor/9d25446af414cac1bd29f41c84052237 to your computer and use it in GitHub Desktop.
Could not load signature of ImageMagick.MagickImage:ToBitmapSource due to: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Could not load signature of ImageMagick.IMagickImage:ToBitmapSource due to: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Recolor<Rgba32>(provider: Png/CalliphoraPartial.png[Rgba32], sourceColorName: "Yellow", targetColorName: "Pink", threshold: 0.2) [FAIL]
System.TypeLoadException : Could not resolve the signature of a virtual method
Stack Trace:
at SixLabors.ImageSharp.Image+<>c__DisplayClass89_0`1[TPixel].<Load>b__0 (System.IO.Stream s) [0x00000] in <bd43945d254d4a1f9fdba1efa1b8f436>:0
at SixLabors.ImageSharp.Image.WithSeekableStream[T] (SixLabors.ImageSharp.Configuration config, System.IO.Stream stream, System.Func`2[T,TResult] action) [0x0003d] in <bd43945d254d4a1f9fdba1efa1b8f436>:0
at SixLabors.ImageSharp.Image.Load[TPixel] (SixLabors.ImageSharp.Configuration config, System.IO.Stream stream, SixLabors.ImageSharp.Formats.IImageDecoder decoder) [0x00014] in <bd43945d254d4a1f9fdba1efa1b8f436>:0
at SixLabors.ImageSharp.Image.Load[TPixel] (SixLabors.ImageSharp.Configuration config, System.Byte[] data, SixLabors.ImageSharp.Formats.IImageDecoder decoder) [0x00009] in <bd43945d254d4a1f9fdba1efa1b8f436>:0
at SixLabors.ImageSharp.Tests.TestImageProvider`1+FileProvider[TPixel].LoadImage (SixLabors.ImageSharp.Formats.IImageDecoder decoder) [0x00019] in <d296036a7a6a422cacac006fdb27049d>:0
at SixLabors.ImageSharp.Tests.TestImageProvider`1+FileProvider+<>c__DisplayClass11_0[TPixel].<GetImage>b__0 (SixLabors.ImageSharp.Tests.TestImageProvider`1+FileProvider+Key[TPixel] _) [0x00000] in <d296036a7a6a422cacac006fdb27049d>:0
at System.Collections.Concurrent.ConcurrentDictionary`2[TKey,TValue].GetOrAdd (TKey key, System.Func`2[T,TResult] valueFactory) [0x00034] in <06f231ea85b44d0d8ffd8c0e2439cdec>:0
at SixLabors.ImageSharp.Tests.TestImageProvider`1+FileProvider[TPixel].GetImage (SixLabors.ImageSharp.Formats.IImageDecoder decoder) [0x0005b] in <d296036a7a6a422cacac006fdb27049d>:0
at SixLabors.ImageSharp.Tests.TestImageProvider`1+FileProvider[TPixel].GetImage () [0x0000d] in <d296036a7a6a422cacac006fdb27049d>:0
at SixLabors.ImageSharp.Tests.TestUtils.RunValidatingProcessorTest[TPixel] (SixLabors.ImageSharp.Tests.TestImageProvider`1[TPixel] provider, System.Action`1[T] process, System.Object testOutputDetails, SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison.ImageComparer comparer, System.Boolean appendPixelTypeToFileName, System.Boolean appendSourceFileOrDescription) [0x00018] in <d296036a7a6a422cacac006fdb27049d>:0
at SixLabors.ImageSharp.Tests.Drawing.RecolorImageTests.Recolor[TPixel] (SixLabors.ImageSharp.Tests.TestImageProvider`1[TPixel] provider, System.String sourceColorName, System.String targetColorName, System.Single threshold) [0x00047] in <d296036a7a6a422cacac006fdb27049d>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <06f231ea85b44d0d8ffd8c0e2439cdec>:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment