add get bitmap method