Solved

Saving Images in Java

Posted on 2002-05-17
6
180 Views
Last Modified: 2010-03-31
I am developing a software wherein I have to modify the pixels of an image(gif format) and store the modified image in an Image object.Now I want to know how to save this Image object on to the hard disk retaining the gif format along with the changes made.
0
Comment
Question by:qdil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 50 total points
ID: 7016535
0
 
LVL 2

Expert Comment

by:xxMariusxx
ID: 7020074
Sun has an API for this.

http://java.sun.com/products/jimi/
0
 
LVL 2

Expert Comment

by:xxMariusxx
ID: 7020079
Sorry...JIMI is a 1.1 implementation.  For Java 2, use JAI (Java Advanced Imaging)

Homepage:
http://java.sun.com/products/java-media/jai/

Javadoc API:
http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/index.html
0
 
LVL 9

Expert Comment

by:yongsing
ID: 7020643
>> For Java 2, use JAI (Java Advanced Imaging)

JAI does not allow saving of images in GIF format.
0
 
LVL 35

Expert Comment

by:girionis
ID: 8766819
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to bobbit31

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

705 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