コード例 #1
0
ファイル: Bitmap.cs プロジェクト: adm244/AGSUnpackerSharp
 public Bitmap(int width, int height, byte[] buffer, PixelFormat format, Palette?palette = null)
 {
     Instance = BitmapInstance.Create(width, height, buffer, format, palette);
 }
コード例 #2
0
ファイル: Bitmap.cs プロジェクト: adm244/AGSUnpackerSharp
 public Bitmap(string filepath)
 {
     Instance = BitmapInstance.Create(filepath);
 }