Saving processed Image

I would like to know whether I can save a image (which is
processed by using a original image) in gif or jpg format


shriya@hotmail.com
LVL 1
shriyaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
remboConnect With a Mentor Commented:

You can find a class that will do a GIF encode of your
image so you can save it to a file at:

http://www.acme.com/java/software/Acme.JPM.Encoders.GifEncoder.html

-Tony

0
 
jpk041897Commented:
Is this for an applet or a stand alone application.

In an applets case you can only save on the server from which you loaded the applet.

Regarding the rest of your question, you are going to need to use an image factory to produce a filter that can save to a gif or jpg format.

If you only want to save in the format that was originaly loaded, the answer is pretty straight forward, if you want the ability to save to other formats, the solution can quickly grow in complexity.

Could yo be more specific on your requirenments?
0
 
shriyaAuthor Commented:
to jpk: It is application i am talking.
      i wanted to know whether java has inbuilt class
methods for saving in gif and jpg format.
         like it has inbuilt class loaders for jpg and gif
format.

I am sorry to rembo that i was not clear in specifying
my requirements.

0
 
remboCommented:

There is not a built-in method for doing this.  However,
the class I referred you to is freeware, and it does
exactly that.

-Tony

0
 
shriyaAuthor Commented:
Thanks Mr Rembo It has solved my requirements.
If u r aware of good java sites with source code
pl send it to me

shriya@hotmail.com
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.