摘要:
1 Bitmap bmp = new Bitmap(pictureBox1.Image, pictureBox1.Image.Size); 2 BitmapData data = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadWrite, bmp.PixelFormat); 3 int length = data.Stride * data.Height; 4 IntPtr ptr = data... 阅读全文