File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pls help ....writing image to file

 
zniter goh
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi...
if i have a image in a BufferedImage how do i save in a file like jpeg,gif....thx
 
Thomas Smets
Ranch Hand
Posts: 111
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give a look at the Servlets / JSP API's.
especially the com.sun.image.codec.jpeg.JPEGImageEncoder ...
this example shuld be almost compilable !

Other inspire your self from javaworld
Rgds,
Thomas,
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic