Esempio n. 1
0
 public Bitmap(int width, int height, byte[] buffer, PixelFormat format, Palette?palette = null)
 {
     Instance = BitmapInstance.Create(width, height, buffer, format, palette);
 }
Esempio n. 2
0
 public Bitmap(string filepath)
 {
     Instance = BitmapInstance.Create(filepath);
 }