public static extern void MagickImage_OrderedDither(IntPtr Instance, IntPtr thresholdMap, UIntPtr channels, out IntPtr exception); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]