質問編集履歴

1

2022/02/01 06:06

投稿

shimakon
shimakon

スコア3

test CHANGED
@@ -1 +1 @@
1
- c#でBitmap保存
1
+ c#でBitmap保存時の"GDI+ で汎用エラーが発生しました。"の対処法について
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  ```C#
12
12
  private void CameraImageEvent1(IGrabResult grabResult)
13
- {
13
+ {
14
14
  Bitmap bmp = GrabResultToBmp(grabResult);
15
15
  // 画面更新
16
16
  if (pictureBox1.IsDisposed) return;
@@ -56,4 +56,5 @@
56
56
  _bmp.Dispose();
57
57
  }));
58
58
  }
59
+ }
59
60
  ```