What is AVIF?
AVIF stands for AV1 Image File Format and is used for storing images and video. It uses the same container format as HEIC images but with potentially better compression. It offers lossy and lossless compression. It offers an alternative to HEIC and JPEG image file formats but is not as well supported in web browsers.
It is an open standard with no patents.
The file name extension for this format is: .avif
Here are some other questions about AVIF you might also want to ask. If you have any other questions, please add a comment and we will try to answer.
What is it used for?
The format has many different use cases. It is an optimal choice for web developers using the format for still images, as it provides rich and vibrant images with a smaller size leading to stable performance and a better user experience.
Differences compared to HEIC
While both use the Heif container, AVIF also uses the AV1 compression format.
Is it better than JPEG?
It may produce better compression than JPEG but JPEG is better supported by web browsers and general software. It is possible to convert AVIF to JPG using third-party software.
Is it possible to convert AVIF to PNG?
Yes. The reason many people do this is because PNG is a much better supported Image file format. To convert AVIF to PNG you will need to use a third-party software library.
How to open AVIF files in Java?
ImageIO (the built-in Java Image library) does not support AVIF images.
We are currently working an AVIF Decoder for our JDeli library to read, write and display AVIF files.
Are you a Java Developer working with Image files?
What is JDeli?
JDeli is a commercial Java Image library that is used to read, write, convert, manipulate and process many different image formats.
Why use JDeli?
To handle many well known formats such as JPEG, PNG, TIFF as well as newer formats like AVIF, HEIC and JPEG XL in java with no calls to any external system or third party library.
What licenses are available?
We have 3 licenses available:
Server for on premises and cloud servers, Distribution for use in a named end user applications, and Custom for more demanding requirements.
How does JDeli compare?
We work hard to make sure JDeli performance is better than or similar to other java image libraries. Check out our benchmarks to see just how well JDeli performs.