Link to home
Start Free TrialLog in
Avatar of qdil
qdil

asked on

Saving gif images

How can you save gif images in Java?
ASKER CERTIFIED SOLUTION
Avatar of bobbit31
bobbit31
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of heyhey_
heyhey_

what is your target Java version ?
What do you understand by saving ?

If you are refering to file transfer, is just a normal operation to read from a stream (the source gif file) and write to another one - the destination file. The normal case of downloading a gif from web and save'it locally.

If you want to encode information as a gif file you should use a encoder. The one posted above by bobbit31 is a good one. You need to know anyway that gif format is pattent protected for encoding.
Avatar of girionis
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