管理者様こんばんは、変な使い方の質問ですみません。
現在描画対象になっている画面から、CPUで扱うイメージを作る場合 ※変数宣言略
SaveDrawScreen( 0, 0, 640, 480, "capture.bmp");
handle = LoadSoftImage( "capture.bmp");
又は、
handle = MakeXRGB8ColorSoftImage( 640, 480);
for( y = 0; y < 480; y++) {
for( x = 0; x < 640; x++) {
color = GetPixel( x, y); // 32bitカラー(?)
DrawPixelSoftImage( handle, x, y, (color >> 16) & 0xff, (color >> 8) & 0xff, color & 0xff, 255);
}
}
の方法以外で、何か高速な方法がありますでしょうか?