Does java support this functionality ? that is , reading an icon and saving it as bmp or .jpg??? i saw on sun's site that j2se 1.4 has included the package imageio in 1.4. Does it solve my purpose? thanx in advance Rashmi
Yeap it should be do-able : From ImageIcon you can request the getGraphics() One ce you have the graphic you should be able to use the class : import com.sun.image.codec.jpeg.JPEGImageEncoder; import com.sun.image.codec.jpeg.JPEGCodec;
To do whatever you want ... But no GIF's due to Copyrights Thomas,
Thomas Smets
Just another developper
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
a bit of art, as a gift, the permaculture playing cards