SDL now displays the image in RGB332 (to be changed)
Added check for pixel format

RGB888 doesn't work at present