Fastest possible update of a Bitmap
Hi
Assuming image is a Bitmap, is this the quickest way (outside of hardware) to manipulate the bytes?
bmData = image.LockBits(new Rectangle(0, 0, image.Width, image.Height), ImageLockMode.ReadWrite, PixelFormat.Format32bppRgb); scanline = bmData.Stride;
Scan0 = bmData.Scan0;
q = (int *)(void *)Scan0; *(q + offest) = someByte
image.UnlockBits(bmData);
Thanks

