BufferedImage img=new BufferedImage(80,32,BufferedImage.TYPE_INT_RGB);画图。。。FileOutputStream stream=new FileOutputStream("a.jepg");//图片名JPEGImageEncoder enc=JPEGCodec.createJPEGEncoder(stream);enc.encode(img);
用流呀,可以的