Link
Skip to main content

GIF Converter

The JDeli Java image conversion library is able to open and export images as GIF files, giving a complete bulk GIF converter between GIF file format and lots of other image file formats.

JDeli can do this in ONE step with the convert method or separately open and export the GIF image.

Batch Convert images to GIF from Command Line or other language

java -jar jdeli.jar --convert gif "inputFileOrDir" "outputDir"

Convert into GIF or from a GIF image file in Java

JDeli.convert(File inFile, File outFile);

JDeli.convert(InputStream inFile, OutputStream outfile, String format);

byte[] outputData=JDeli.convert(byte[] inputData, String format);

An additional set of methods allow values to be passed in which can give more control over conversion, depending on the image formats being converted (ie different image compression options).

View Javadoc on JDeli.convert

Multiple steps method for converting to or from GIF file format

  1. Open Image Formats with JDeli…
  2. Process image
  3. Export Image Formats with JDeli…

Why JDeli?

  • Support image formats such as AVIF, HEIC and JPEG XL (AVIF soon) that are not supported in Java.
  • Process images up to 3x faster than ImageIO and alternative Java image libraries.
  • Prevent JVM crashes caused by native code in other image libraries such as ImageIO.
  • Handle JPEG, PNG, TIFF image file formats fully in Java.
  • Keep your Image files secure as JDeli makes no calls to any external system or third party library.

Learn more about JDeli

Start Your Free Trial