Solved

Saving processed Image

Posted on 1997-11-17
5
196 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
even odd program using while loop 3 60
varialbe initialization 11 37
jdbc error in jsp application 20 63
hashmap order 17 36
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

856 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