Solved

Saving Images in Java

Posted on 2002-05-17
6
171 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
6 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 50 total points
Comment Utility
0
 
LVL 2

Expert Comment

by:xxMariusxx
Comment Utility
Sun has an API for this.

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

Expert Comment

by:xxMariusxx
Comment Utility
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
Comment Utility
>> 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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

743 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

16 Experts available now in Live!

Get 1:1 Help Now