publicstaticStringgetImageBinary(){Filef=newFile("d://1.jpg");BufferedImagebi;try{bi=ImageIO.read(f);ByteArrayOutputStreambaos=newByteArrayOutputStream();ImageIO.write(bi,"jpg",baos);