ImageMagick.MagickImage.NativeMagickImage.ReadPixels C# (CSharp) Метод

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

public ReadPixels ( int width, int height, string map, StorageType storageType, byte data ) : void
width int
height int
map string
storageType StorageType
data byte
Результат void
      public void ReadPixels(int width, int height, string map, StorageType storageType, byte[] data)
      {
        using (INativeInstance mapNative = UTF8Marshaler.CreateInstance(map))
        {
          IntPtr exception = IntPtr.Zero;
          IntPtr result;
          #if ANYCPU
          if (NativeLibrary.Is64Bit)
          #endif
          #if WIN64 || ANYCPU
          result = NativeMethods.X64.MagickImage_ReadPixels((UIntPtr)width, (UIntPtr)height, mapNative.Instance, (UIntPtr)storageType, data, out exception);
          #endif
          #if ANYCPU
          else
          #endif
          #if !WIN64 || ANYCPU
          result = NativeMethods.X86.MagickImage_ReadPixels((UIntPtr)width, (UIntPtr)height, mapNative.Instance, (UIntPtr)storageType, data, out exception);
          #endif
          CheckException(exception, result);
          Instance = result;
        }
      }
      public void RegionMask(MagickRectangle region)
MagickImage.NativeMagickImage