How to create a java.awt.Image from image data? Image data is not pure RGB pixel data but encoded in jpeg/png format.
JavaME has a simple api Image.createImage(…) for doing this.
public static Image createImage(byte[] imageData, int imageOffset, int imageLength)
imageData – the array of image data in a supported image format.
Is there anything similar to this available in JavaSE?
1 Answer