Remove all deprecated way of defining a bitmap object
Suppressed deprecated method that cannot be upgraded because of the minimum api level in use
Improve image scaling functionality