• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pls help ....writing image to file

 
zniter goh
Greenhorn
Posts: 29
  • 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
  • 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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic