- 229 名前:208 mailto:sage [2008/02/14(木) 22:43:13 ]
- >227
良く嘘をつく奴だな程度に思っていたけど、只の低脳なのか? Bitmap tmp = new Bitmap(@"h:\P1000220.bmp"); //この次の行に書け。 Console.WriteLine("tmp.PixelFormat =" + tmp.PixelFormat.ToString()); //何が見える? ペイントで24ビットビットマップとして保存して居る奴に必要なコード変更はこういう事だ。 //int bytes = (tmp.Width) * (tmp.Height) * 4; int bytes = (tmp.Width) * (tmp.Height) * 3;
|

|