Decode a image file into a Bitmap.
the sourceType file decoded with a minimum sample size.
image file path.
minWidth the image must have.
width and height of the image should be same.
fix image rotation based on the exif orientation information.