Simple image to rgb565 raw converter