i has a BufferedImage instance: (only a example)
BufferedImage image = ImageIO.read(new URL("http://www.google.com/intl/en_ALL/images/srpr/logo1w.png"));
now,i only know use
ImageIO.write(image,"jpg", file); //or ImageIO.write(image,"png", file);
to save this BufferedImage to a file, but this file is ZIPed,not equal original image size.
can I get original image ByteArray or OutputStream from BufferedImage instance?