| Author |
writing ImageIcon object ro file system
|
Rupali Sarolkar
Greenhorn
Joined: Nov 20, 2007
Posts: 13
|
|
I want to save the picture I am getting in ImageIcon object to the file system.How can I do that? Please Help !!! Thanks in advance... Roops
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
Use ImageIO to read and write images from files. Now the problem is, ImageIcon's getImage() method returns an Image and not an RenderedImage, so you have to make sure you'll get a RenderedImage:
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Rupali Sarolkar
Greenhorn
Joined: Nov 20, 2007
Posts: 13
|
|
Thanks a lot Friend !!! I can't express how happy I am !!! Thanks once again !!!
|
 |
 |
|
|
subject: writing ImageIcon object ro file system
|
|
|