GifServlet

GifServlet is an abstract base class that makes it easier to create dynamic GIFs from Java Servlets. It now supports transparency and caching based on the query string!

ImageExample is a subclass of GifServlet and demonstrates how to create a simple image.

Here's some examples:

Resize
Transparency
Colors

Design your own smiley!

Height:
Width:
Background:
Foreground:
Transparent:

After unzipping GifServlet.zip (Source code included!) into your servlet directory go to http://127.0.0.1/servlet/ImageExample.

For some reason while running in 24bit color on a Win32 server my images were coming out black and white. When I switched to 16bit the problem went away. I am now running on Linux and don't have that problem.

I finally created a page on how to run GifServlet on Linux! It's kind of rough but it should do the trick!

Let me know if you have any problems.
Aaron Porter


FastCounter by LinkExchange