I want to convet an byte[] which i've received from a mobile phone in to a image (jpg/png) after i receive it on the J2SE server end. Please some one help me with the method which i can just convert a byte[] in to a image n store it on the hard drive of the computer.
What is the format of the data in the byte array? if it is already in JFIF (that's jpeg) or PNG format, just use java.io.* to write the data to a file. In other words, is there really a *need* to convert the data to an image? [ January 27, 2006: Message edited by: Jeff Albertson ]