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

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

public WriteBlob ( MagickImage image, MagickSettings settings, UIntPtr &length ) : IntPtr
image MagickImage
settings MagickSettings
length UIntPtr
Результат IntPtr
      public IntPtr WriteBlob(MagickImage image, MagickSettings settings, out UIntPtr length)
      {
        using (INativeInstance settingsNative = MagickSettings.CreateInstance(settings))
        {
          IntPtr exception = IntPtr.Zero;
          IntPtr result;
          #if ANYCPU
          if (NativeLibrary.Is64Bit)
          #endif
          #if WIN64 || ANYCPU
          result = NativeMethods.X64.MagickImageCollection_WriteBlob(MagickImage.GetInstance(image), settingsNative.Instance, out length, out exception);
          #endif
          #if ANYCPU
          else
          #endif
          #if !WIN64 || ANYCPU
          result = NativeMethods.X86.MagickImageCollection_WriteBlob(MagickImage.GetInstance(image), settingsNative.Instance, out length, out exception);
          #endif
          MagickException magickException = MagickExceptionHelper.Create(exception);
          if (MagickExceptionHelper.IsError(magickException))
          {
            if (result != IntPtr.Zero)
              MagickMemory.Relinquish(result);
            throw magickException;
          }
          RaiseWarning(magickException);
          return result;
        }
      }
      public void WriteFile(MagickImage image, MagickSettings settings)