title: How to differentiate between a 32bit and 24bit bmp file? Also how do I read a 32bit bmp file into a C++ array?
body: <p>I wasn't able to find any difference between bmp files available online, so that I could easily tell whether they were 24 or 32 bit. </p>
  
  <p>I need to read a 32 bit bmp file into rgb array using C++ and most tutorials exist only for 32 bit.</p>