diff --git a/_pages/avif.md b/_pages/avif.md new file mode 120000 index 0000000000..a9993a6368 --- /dev/null +++ b/_pages/avif.md @@ -0,0 +1 @@ +../_posts/2022-01-26-avif.md \ No newline at end of file diff --git a/_posts/2022-01-26-avif.md b/_posts/2022-01-26-avif.md new file mode 100644 index 0000000000..4583e23b5e --- /dev/null +++ b/_posts/2022-01-26-avif.md @@ -0,0 +1,31 @@ +--- +layout: page +title: "AVIF" +category: int +date: 2022-01-26 09:38:00 +order: 6 +disqus: 1 +--- + +### AVIF + +[AVIF](https://developer.android.com/about/versions/12/features#avif) is a royalty free image format developed by the [Alliance for Open Media](http://aomedia.org). It is based on the [AV1](https://en.wikipedia.org/wiki/AV1) video codec. AVIF Integration for Glide uses a bundled [AVIF decoder](https://github.com/AOMediaCodec/libavif) to decode and render AVIF images. + +The AVIF Integration supports still AVIF images of all bitdepths (8, 10 or 12) and all YUV configurations (420, 422, 444 or monochrome). It does not support animated AVIF images. + + +#### How do I include the AVIF integration library? +First make sure you've followed the [setup instructions][2] for Applications. + +Then add a Gradle dependency on the AVIF integration library: + +```groovy +compile "com.github.bumptech.glide:avif-integration:4.13.0" +``` + +Adding a Gradle dependency on the AVIF integration library will cause Glide to start automatically using the bundled AVIF decoder for decoding and rendering AVIF images. + +For more details on the automatic registration of integration libraries and answers to common questions, see the [About section][1] for integration libraries. + +[1]: {{ site.baseurl }}/int/about.html +[2]: {{ site.baseurl }}/doc/configuration.html#applications