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

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

public Smush ( MagickImage image, int offset, bool stack ) : IntPtr
image MagickImage
offset int
stack bool
Результат IntPtr
      public IntPtr Smush(MagickImage image, int offset, bool stack)
      {
        IntPtr exception = IntPtr.Zero;
        IntPtr result;
        #if ANYCPU
        if (NativeLibrary.Is64Bit)
        #endif
        #if WIN64 || ANYCPU
        result = NativeMethods.X64.MagickImageCollection_Smush(MagickImage.GetInstance(image), (IntPtr)offset, stack, out exception);
        #endif
        #if ANYCPU
        else
        #endif
        #if !WIN64 || ANYCPU
        result = NativeMethods.X86.MagickImageCollection_Smush(MagickImage.GetInstance(image), (IntPtr)offset, stack, 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 IntPtr WriteBlob(MagickImage image, MagickSettings settings, out UIntPtr length)