convert bitmaps to rgb