Example #1
0
 public uint CreateImageFromBuffer(byte[] buffer, uint size, BufferDisposalFlag disposalFlag, out IImage image)
 {
     image = new Win32Image(new Bitmap(new MemoryStream(buffer, 0, (int)size)));
     return 0;
 }
Example #2
0
 public uint CreateImageFromBuffer(byte[] buffer, uint size, BufferDisposalFlag disposalFlag, out IImage image)
 {
     image = new Win32Image(new Bitmap(new MemoryStream(buffer, 0, (int)size)));
     return(0);
 }