转换PNG或JPG图像的Base64字符串中的Android [英] Convert png or jpg image to Base64 string in Android
本文介绍了转换PNG或JPG图像的Base64字符串中的Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序,我需要将图像转换为Base64格式。 任何人都可以请让我知道我该怎么办呢?
In my Application, I need to convert Image to Base64 format. Could anyone please let me know how can I do that?
请提出您宝贵的意见。
在此先感谢:)
推荐答案
Android有一类这样做的。
Android has a class for doing this.
http://developer.android.com/reference/android/util/ Base64.html
这篇关于转换PNG或JPG图像的Base64字符串中的Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文