一.图片转成byte[]数组. import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; public class Test { public static void main(String[] args){ // fis.read(imgstr); 读取出来的 /*String a1 = "[-119, 80, 78, 71, 13, 10, 26, 10,…