How to Write a applet output in a file in jpg format? Urgent
0 posts in topic
Flat View  Flat View

Posted By:   Srividhya_Krishnan
Posted On:   Saturday, March 25, 2006 03:18 PM

I am getting all my processed image outputs in Applet.

I just want to write it in an image file of any format png
or jpg?
How to do that?

I am getting Java.security exception and access denied
exceptions if i use

ImageIO.write( aBufferedImage, "jpeg" /* "png" "jpeg" format desired, no "gif" yet. */,
new File ( "snap.jpg" ) /* target */ );

can you provide any other solution?

About | Sitemap | Contact