Java AVIF Writer
Java’s built-in ImageIO does not support writing AVIF files. JDeli is a 100% Java AVIF writer that provides full encoding control with no dependencies.
Getting started
Add JDeli to your project via Maven or Gradle, or see using JDeli with Java modules.
Key features:
- 100% Java solution. No dlls or dependencies on native code easy to use
Quick start or to replace in existing code using ImageIO:
JDeli.write(myBufferedImage, "avif", outputStreamOrFile);
or
byte[] outputData = JDeli.write(myBufferedImage, "avif");
Simple usage
JDeli.write(myBufferedImage, OutputFormat.AVIF, outputStreamOrFile);
OutputFormat allows setting of any supported Image Format
Frequently asked questions
Can Java write AVIF files natively?
No. Java’s built-in ImageIO does not support writing AVIF files. JDeli provides a pure-Java AVIF encoder with no dependencies required.
Does writing AVIF in Java require native libraries?
No. JDeli is a 100% Java library with no dependencies. It runs on any platform where the JVM runs with no additional installation.
What output types does JDeli support for writing AVIF?
JDeli can write AVIF to a File, OutputStream, or return the encoded data as a byte array.