Be more than mobile, reach every Windows screen
Reach millions of players across phone, PC, and Xbox One
The Internet of your things
The world's most personal digital assistant
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?
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?