public void Opaque(MagickColor target, MagickColor fill, bool invert)
{
using (INativeInstance targetNative = MagickColor.CreateInstance(target))
{
using (INativeInstance fillNative = MagickColor.CreateInstance(fill))
{
IntPtr exception = IntPtr.Zero;
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
NativeMethods.X64.MagickImage_Opaque(Instance, targetNative.Instance, fillNative.Instance, invert, out exception);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
NativeMethods.X86.MagickImage_Opaque(Instance, targetNative.Instance, fillNative.Instance, invert, out exception);
#endif
CheckException(exception);
}
}
}
public void OrderedDither(string thresholdMap, Channels channels)