public void Border(MagickRectangle value)
{
using (INativeInstance valueNative = MagickRectangle.CreateInstance(value))
{
IntPtr exception = IntPtr.Zero;
IntPtr result;
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
result = NativeMethods.X64.MagickImage_Border(Instance, valueNative.Instance, out exception);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
result = NativeMethods.X86.MagickImage_Border(Instance, valueNative.Instance, out exception);
#endif
CheckException(exception, result);
Instance = result;
}
}
public void BrightnessContrast(double brightness, double contrast, Channels channels)