Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i save an image object in any format (gif,jpg)....urgent  RSS feed

 
pinjalim bora
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone pls tel me how do i save a Image object to disk in a gif or jpg format .....
its very urgent...
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The gif encoding algorithm is copy-righted so I don't think you will find the required code.
In the standard java packages there are a bunch of unsupported com.sun.* packages, one of which is com.sun.image.codec.jpeg.*
This package has the classes required for the conversion you need. I'm not aware of any other packages.
Dave.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!