ImageMagick.MagickImage.NativeMagickImage.Negate C# (CSharp) Method

Negate() public method

public Negate ( bool onlyGrayscale, Channels channels ) : void
onlyGrayscale bool
channels Channels
return void
      public void Negate(bool onlyGrayscale, Channels channels)
      {
        IntPtr exception = IntPtr.Zero;
        #if ANYCPU
        if (NativeLibrary.Is64Bit)
        #endif
        #if WIN64 || ANYCPU
        NativeMethods.X64.MagickImage_Negate(Instance, onlyGrayscale, (UIntPtr)channels, out exception);
        #endif
        #if ANYCPU
        else
        #endif
        #if !WIN64 || ANYCPU
        NativeMethods.X86.MagickImage_Negate(Instance, onlyGrayscale, (UIntPtr)channels, out exception);
        #endif
        CheckException(exception);
      }
      public void Normalize()
MagickImage.NativeMagickImage