Link

Write BufferedImage to HEIC image file

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

Key information:

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

Quick start or to replace in existing code using ImageIO:

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

New method for quick and simple usage

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

OutputFormat allows setting of any supported Image Format

For complete control of output:

final HeicEncoderOptions options = new HeicEncoderOptions();


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

HeicEncoderOptions allows setting of specific options.

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