title: How to convert A16B16G16R16F to ARGB32?
body: <p>I'm writing a C++ program which reads a texture image file then convert and save as .png.</p>
  
  <p>When I met the ARGB half precision float pixel format.</p>
  
  <p>I tried for each pixel ARGB channel</p>
  
  <ol>
  <li>read 16 bits</li>
  <li>convert to 32bit c primitive float</li>
  <li>multiply 255 or 1 (i'm not sure what's the valid range of the half-float value)</li>
  <li>cast to a BYTE value</li>
  </ol>
  
  <p>but I couldn't get the visible image. maybe the convert method was incorrect.</p>
  
  <p>What's the formula to convert the half precision float to 8bit color intensity value?</p>