public static extern void MagickImageCollection_Quantize(IntPtr image, IntPtr settings, out IntPtr exception); [DllImport(NativeLibrary.X86Name, CallingConvention = CallingConvention.Cdecl)]