Hi!

I don't know if this will help you, but I use the ImageIO classes for exactly the same purpose. Works great for me. I first create a BufferedImage and then write it to the response.
The code looks something like this:


BufferedImage bi; //make your BufferedImage from whatever
response.setContentType("image/gif"); //or whatever
ImageIO.write(bi, "gif", response.getOutputStream());
response.getOutputStream().flush();

HTH

Phil



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to