decode Sampled Bitmap From Resource
fun decodeSampledBitmapFromResource(file: File, reqWidth: Int, reqHeight: Int): Bitmap
Content copied to clipboard
Decode a sampled bitmap from a file to a Bitmap.
Return
the decoded bitmap
See also
Parameters
file
the file to decode
req Width
the min required width of the decoded bitmap
req Height
the min required height of the decoded bitmap