Solved

Saving processed Image

Posted on 1997-11-17
5
179 Views
Last Modified: 2011-09-20
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
0
Comment
Question by:shriya
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:jpk041897
ID: 1230812
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
 
LVL 4

Accepted Solution

by:
rembo earned 20 total points
ID: 1230813

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
 
LVL 1

Author Comment

by:shriya
ID: 1230814
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
 
LVL 4

Expert Comment

by:rembo
ID: 1230815

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
 
LVL 1

Author Comment

by:shriya
ID: 1230816
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now