Converts a drawable into a bitmap.
The desired bitmap width output.
The desired bitmap height output.