ImageMagick.MagickImageCollection.NativeMagickImageCollection.Flatten C# (CSharp) Метод

Flatten() публичный Метод

public Flatten ( MagickImage image ) : IntPtr
image MagickImage
Результат System.IntPtr
      public IntPtr Flatten(MagickImage image)
      {
        IntPtr exception = IntPtr.Zero;
        IntPtr result;
        #if ANYCPU
        if (NativeLibrary.Is64Bit)
        #endif
        #if WIN64 || ANYCPU
        result = NativeMethods.X64.MagickImageCollection_Flatten(MagickImage.GetInstance(image), out exception);
        #endif
        #if ANYCPU
        else
        #endif
        #if !WIN64 || ANYCPU
        result = NativeMethods.X86.MagickImageCollection_Flatten(MagickImage.GetInstance(image), out exception);
        #endif
        MagickException magickException = MagickExceptionHelper.Create(exception);
        if (MagickExceptionHelper.IsError(magickException))
        {
          if (result != IntPtr.Zero)
            Dispose(result);
          throw magickException;
        }
        RaiseWarning(magickException);
        return result;
      }
      public void Map(MagickImage image, QuantizeSettings settings, MagickImage remapImage)