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