Java GIF Writer

JDeli includes a GIF Writer to write GIF files in Java. The GIF Encoder is written in 100% Java with no dependencies.

Key information:

  • 100% Java solution. No dlls or dependencies on native code
  • LZW compressed

Quick start or to replace in existing code using ImageIO:

JDeli.write(myBufferedImage, "gif", outputStreamOrFile);


byte[] outputData = JDeli.write(myBufferedImage, "gif");

New method for quick and simple usage

JDeli.write(myBufferedImage, OutputFormat.GIF, outputStreamOrFile)

OutputFormat allows setting of any supported Image Format

For complete control of output:

final GifEncoderOptions options = new GifEncoderOptions();

//write out
JDeli.write(myBufferedImage, options, outputStreamOrFile);

GifEncoderOptions allows setting of specific options.

Various image processing operations can be conducted on the image, detailed documentation can be found here.