decodeBitmap

fun Resources.decodeBitmap(resId: Int, options: BitmapFactory.Options? = null): Bitmap?
fun InputStream.decodeBitmap(outPadding: Rect? = null, options: BitmapFactory.Options? = null): Bitmap?
fun FileDescriptor.decodeBitmap(outPadding: Rect? = null, options: BitmapFactory.Options? = null): Bitmap?
fun ByteArray.decodeBitmap(offset: Int, length: Int, options: BitmapFactory.Options? = null): Bitmap?