Given a bitmap image as follows:
Bitmap m_Bitmap = (Bitmap)Bitmap.FromFile(@"c:\t.png", false);
I could find out the PixelFormat with m_Bitmap.PixelFormat.
However, I would like to know how many bits are used for color display.
If the created bitmap is of Format24bppRgb, then it uses 24 bits.
Is it possible that I can find the number of bits used by Bitmap directly?