raspberry pi framebuffer and BMP parser