ly.img.android.pesdk.utils / BitmapFactoryUtils / decodeStream

decodeStream

open static fun decodeStream(stream: InputStream!, minSize: Int): Bitmap!

Decode a drawable or a raw image resource.

Parameters

stream - InputStream!: image inputStream

minSize - Int: minWidth the image must have.

Return
Bitmap!: the sourceType resource image decoded with a minimum sample size.