One of my best choice, is JIMI. This great library is free for non commercial use, and the GIF encoder is blazing fast. Written 100% in Java, but I had some problem with the Solaris JDK....
The ACME package contain some fine
package, and especally a
gif encoder. Unfortunatly, this encode only works with 256 color (or
less) images: if the image have more than 256 colors, you have to do yourself
an operation to reduce colornumber (GIF files can only have 256 col max).
But full sourcecode is fully available.
Mark Watson have done small modification on this package, to be used
with his PicWeb
utilities, to remove the 256 col limitiations. PicWeb is available with
source. Unfortunatly, the way it was done only work with very small images...
The gillog Java Page
contain some code who claims to save gif files, but I was anuable to
make it work, and sourcecode is not available.
Now, another problem:: with JDK previous to 1.2, you can't create Image
without aving an AWT window to display it.
Go back to the TomSoft Java Project page