File file = new File("/Desktop/image/123.jpg");//待处理的图片
InputStream is = null;
byte[] data = null;
//读取图片字节数组
try {
is = new
IO流读取本地图片,将图片转化成字节数组字符串
最新推荐文章于 2022-02-11 09:17:32 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
File file = new File("/Desktop/image/123.jpg");//待处理的图片
InputStream is = null;
byte[] data = null;
//读取图片字节数组
try {
is = new