when a empty bitmap assign to other bitmap the other bitmap should reset self firstly, and then set empty type.