title: opengl c++: How to convert a 32bit png file to a 16 bit 565RGB file
body: <p>I am trying to convert 32bit png files to 16 bit file formats, I understand how to convert 16 bit file formats between eachother (e.g RGB565 RGBA4444) However I'm not sure how to go about converting from a 32 bit to a 16 bit.</p>
  
  <p>My main questions are: How do I find how the 32 bit pngs stored (are 8 bits each assigned to R,B,G, and A values)?</p>
  
  <p>How do I lost precision but still maintain roughly the same value?</p>
  
  <p>Thanks in advance </p>