Applied some of bsau3130's changes for output of 7bit rgb. fixed colour transposition, data is in the form of GRB not RGB.