static fun decodeStream(stream: java.io.InputStream, minSize: int): Bitmap
Decode a drawable or a raw image resource.
stream
- java.io.InputStream: image inputStream
minSize
- int: minWidth the image must have.
Return
Bitmap: the sourceType resource image decoded with a minimum sample size.