finish rgb mode bmp parse