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