decode corner resource bitmap once