Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Saving Images in Java

Posted on 2002-05-17
6
Medium Priority
?
182 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 200 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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 will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

610 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