Decode a drawable or a raw image resource.
the sourceType resource image decoded with a minimum sample size.
minWidth the image must have.
image inputStream