This is my bitmap object
Bitmap b = new Bitmap(columns, rows, PixelFormat.Format8bppIndexed);
BitmapData bmd = b.LockBits(new Rectangle(0, 0, columns, rows), ImageLockMode.ReadWrite, b.PixelFormat);
How do i convert this into a 8 bit grayscale bitmap ?
hi you could change the color palette to a grayscale one
although the following code is in Vb.net. You could easily convert it to C#
Original Source -> http://social.msdn.microsoft.com/Forums/en-us/vblanguage/thread/500f7827-06cf-4646-a4a1-e075c16bbb38