createMultipartBody
Creates a multipart body part from an image file for HTTP requests. The image is compressed before being converted to a multipart body.
Return
A MultipartBody.Part containing the compressed image data
Parameters
file
The image file to convert to a multipart body