"Knute Johnson" <> wrote in message
news:4862688e$0$4084$.. .
> jimgardener wrote:
[...]
> If what you have is truly 'image data' in the Java sense then creating the
> image from a byte array is done by converting the bytes to an int[] and
> setting the data of the BufferedImage with setRGB(). From there use
> ImageIO to write out your TIFF file.
>
> If the 'image data' is an array of bytes read from some file then I would
> have to know what sort of file to tell you how to proceed.
I too am interested in this. I have some JPEG files from which I need to
create images suitable for transmission across a network and I note that
BufferedImage does not implement Serializable. I can read the contents from
the file as a byte array and transmit that array but how do I turn the array
into some form of image to be displayed on a screen at the other end?
--
And loving it,
-Qu0ll (Rare, not extinct)
_________________________________________________
[Replace the "SixFour" with numbers to email me]