如何分段发送图像?

时间:2018-11-30 11:33:58

标签: android base64

我以前通过Base64发送

 Observable.fromCallable {
                val sampledBitmap = decodeSampledBitmapFromFilePath(photoPath, 500, 500)
                File(photoPath).delete()
                bitmapToBase64(sampledBitmap)
            }
            .subscribeOn(Schedulers.io())

现在我想将 bitmapToBase64 替换为 MULTIPART ENCODING

0 个答案:

没有答案