摘要: A few remarks with this code. Sadly, I couldn't avoid the pointer arithmetic in the Marshal.Copy() call, the code is not going to work in 64-bit apps. And it is not going to be terribly fast, Bitmap.GetPixel() is slow. Hope it works for you.
阅读全文