title: 24 bit bmp to RGB565 file conversion
body: <p>I want to convert 24 bit bmp files to RGB565 format to write to a serial TFT colour display.</p>
  
  <p>The size of the 24bit bmp will always be 320x240 pixels as my TFT display is 320x240</p>
  
  <p>Has anyone any experience of doing this? It could be C/C++, Shell, Python, Java Script and so on...</p>