How do I add text after using MemoryImageSource
I've followed all the tutorials adding text to images and buffered images with no problems until I try to add text to an image created using MemoryImageSource. I get an error message saying that the usual method doesn't work with images produced by ImageProducer. The image starts life as an integer array with ARGB format so converting it into a buffered image didn't work either as these only seem to work with text when defined as byte arrays.
BTW I need to store the image with overlaid text on disk, so I don't think it is just writing to a JPanel or a JFrame.
Does anyone have a sample of code showing how to add some text to an image produced by MemoryImageSource.