This is a quick hack get generate a C byte array of image data in BGAR5515 format - the result is output to the JS console. It's not yet tested. View source on github