Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I have a bitmap, such as lena.bmp, which the number of bits per pixel is 8. How can I change the number of bits per pixel?
Here is how: - Load the bitmap using System.Drawing.Bitmap, - Crease a bitmap using Bitmap(Int32, Int32, Int32, PixelFormat, IntPtr) constructor - Save newly created bitmap to file.