Added some BitmapUtils for converting a Drawable to a bitmap.