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 AVIF files 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 the difference between AVIF and HEIC?
HEIC and AVIF both use the Heif container format but AVIF uses the AV1 compression format.
Is AVIF better than JPEG?
AVIF may produce better compression than JPEG but JPEG is better supported by web browsers and general software.
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 and display AVIF files.
Find out how to read and write images files in Java with JDeli:
Read:BufferedImage image = JDeli.read(streamOrFile);
Write: JDeli.write(myBufferedImage, OutputFormat.HEIC, outputStreamOrFile)