I have saved generated an image using a byte[] by using
Toolkit.getDefaultToolkit().createImage(image);
where image is a byte[].
The image generated by this is of java.awt.Image instance. Now I want to save this image into my local hard disk as JPEG (the image was decoded as JPEG). How would I do that?.
I am able to draw the image using MediaTracker