Solved

Saving Images in Java

Posted on 2002-05-17
6
176 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

809 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