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

Posterize() public method

public Posterize ( int levels, DitherMethod method, Channels channels ) : void
levels int
method DitherMethod
channels Channels
return void
      public void Posterize(int levels, DitherMethod method, Channels channels)
      {
        IntPtr exception = IntPtr.Zero;
        #if ANYCPU
        if (NativeLibrary.Is64Bit)
        #endif
        #if WIN64 || ANYCPU
        NativeMethods.X64.MagickImage_Posterize(Instance, (UIntPtr)levels, (UIntPtr)method, (UIntPtr)channels, out exception);
        #endif
        #if ANYCPU
        else
        #endif
        #if !WIN64 || ANYCPU
        NativeMethods.X86.MagickImage_Posterize(Instance, (UIntPtr)levels, (UIntPtr)method, (UIntPtr)channels, out exception);
        #endif
        CheckException(exception);
      }
      public void Quantize(QuantizeSettings settings)
MagickImage.NativeMagickImage