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