Link

Write BufferedImage to GIF image file

You can write GIF images in Java with JDeli Java Image library.

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);

or

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.

Still need help? Send us your questions.