Hello guys,
I have a project to save an image from canvas to file.
I have tried googling for 3 days and nothing works.
Can anybody show me how to do it.
I have search from this forum and this is what i get.
http://www.daniweb.com/software-development/java/threads/436548/saving-canvas-as-image
" Create a new buffered image. Get its Graphics. Draw your canvas on the Graphics. (Use your existing paintComponent method and pass the BufferedImage's Graphics to it.) "
well i dont realy understand how to code it. Please give me an example how it should be done.
Thanks.