Forums Register Login

Saving Graphics

+Pie Number of slices to send: Send
Hi All,
I have generated some image using AWT during runtime. I want to store this image so generated on to my hard drive. can any one please tell as to how I can do this. if some sample code is availble please send it to me
rgds
Kiran Mohan Nori
+Pie Number of slices to send: Send
Dear Kiran
By going through with Java I/O package (which details and example can be found in any java book), you will be able to store these images, i think, using ObjectOutputStream() class to write and ObjectInutStream to read from disk and some more classes in chain.
I don't have example of this at present, but if you have Beginning Java2 Book of Ivor Horton then you can go through with their detailed java i/o package capabilities they have demonstrated in their book.
Hope it helps. Should you have any querry, do let us know.
Good luck
Rashid Ali
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 660 times.
Similar Threads
tray icon is not displaying
Image validation
Inclined Text of JLabel
how to include image in javadoc
how to save a table from jsp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:53:02.