摘要: 1 public byte[] getBitmapByte(Bitmap bitmap){ 2 ByteArrayOutputStream out = new ByteArrayOutputStream(); 3 bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out); 4 try { 5 out.flush(); 6 out.close(); 7 } catch (IOException e) { 8 ... 阅读全文