added a bitmap function to convert your bitmap to any bitmap type like RGB-8888.