create Bitmap
Create a bitmap from resources.
If cannot be decoded into a bitmap, will throw an exception.
Receiver
Return
Parameters
res Id
the drawable resource id.
opts
the BitmapFactory.Options, default is null.
See also
Throws
if the bitmap decode failed.