title: How to read an 8bit bitmap's pixel colour and postion from byte array
body: <p>I currently have my 8bit bitmap's pixel data stored in an array of bytes: <code>BYTE* pixelData</code>.</p>
  
  <p>How would I now go about coding my own function to return a pixel's colour by it's position? I've done a fair amount of searching and haven't found anything that covers this using C++.</p>