S
Simon Andrews
I have an application which dynamically generates images using
MemoryImageSource to produce a java.awt.Image object. I'd like to be
able to write these images out as pngs.
I've found the javax.imageio class which will write out pngs, but only
from a BufferedImage and not from a basic Image. I've not been able to
find a way to create a BufferedImage from an Image.
Can anyone suggest how I can write out these images?
Cheers
Simon.
MemoryImageSource to produce a java.awt.Image object. I'd like to be
able to write these images out as pngs.
I've found the javax.imageio class which will write out pngs, but only
from a BufferedImage and not from a basic Image. I've not been able to
find a way to create a BufferedImage from an Image.
Can anyone suggest how I can write out these images?
Cheers
Simon.