Wednesday, June 27, 2001 09:49 PM
How to save a Canvas in JPEG, GIF or Vector format ?
I am developing an Interactive Drawing Board where two or more persons can draw on same drawing board. I am using sockets for interaction
I need to know how to save the image at the end of the session in JPEG, GIF or Vector format. I tried to save it in JPEG form using Java 2D's BufferedImages and Sun's JPEG encoder package but it doesn`t show the Canvas which I want to capture. It captures all the buttons and other light weight components on my front end. Can anyone please help me find answer to this ?