Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Does Magick.Net work for mac? I was trying to load a new image in visual studio in mac, I am using the package from nuget
and
I receive this error
The type initializer for 'NativeMagickSettings' threw an exception.System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.TypeInitializationException: The type initializer for 'X64' threw an exception. ---> System.EntryPointNotFoundException: SetDllDirectory assembly: type: member:(null)
at at (wrapper managed-to-native) ImageMagick.MagickNET+NativeWindowsMethods.SetDllDirectory(string)
at ImageMagick.MagickNET.SetNativeLibraryDirectory (System.String path) [0x00006] in :0
at ImageMagick.NativeLibraryLoader.ExtractLibrary () [0x0002c] in :0
at ImageMagick.NativeLibraryLoader.Load () [0x00012] in :0
at ImageMagick.Environment+NativeMethods+X64..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at ImageMagick.Environment+NativeEnvironment.Initialize () [0x00007] in :0
at ImageMagick.Environment.Initialize () [0x00021] in :0
at ImageMagick.MagickSettings+NativeMagickSettings..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at ImageMagick.MagickSettings..ctor () [0x00011] in :0
at ImageMagick.MagickImage..ctor () [0x00006] in :0
at ImageMagick.MagickImage..ctor (System.String fileName) [0x00000] in :0
at CropInvestigation.EmptyClass.CropImages (CropInvestigation.EmptyClass+Item imageannotation) [0x0000c] in /Users/qlyu/Development/CropInvestigation/CropInvestigation/EmptyClass.cs:112
at CropInvestigation.EmptyClass.Main (System.String[] args) [0x0000a] in /Users/qlyu/Development/CropInvestigation/CropInvestigation/EmptyClass.cs:132
Beta Was this translation helpful? Give feedback.
All reactions