Image transmission
Hi everyone,I'd like to know if there is a way to transmit some Images (like BufferedImage instances) on a network ?my problem is that BufferedImage does NOT implement Serializable...thanx
[217 byte] By [
anaisdeva] at [2007-9-27 7:13:46]

I don't want to write it on a disk (when saving using jpg or gif formats), just transmit.about the "pixelGrabber", is there a difference with the getRGB method ?thanks for your answers.
sorry,after verify, I have no choice and I have a BufferedImage (from a get...() method, no details needed)Maybe there is a way to convert it to an ImageIcon ?
You can write your image to an OuputStream or an ImageOutputStream with ImageIO class.static boolean write(RenderedImage im, String formatName, ImageOutputStream output) or static boolean write(RenderedImage im, String formatName, OutputStream output) Denis
yes, that is certainly what I was looking for.I am using jdk 1.3, and after searching on the www, it seems that this package is from the 1.4 only. I got to update my jdk !Thanks a lot.