Skip to content

Commit

Permalink
Add a page for the AVIF integration library (bumptech#4735)
Browse files Browse the repository at this point in the history
The AVIF integration library was added to Glide in
bumptech#4734.
  • Loading branch information
vigneshvg committed Feb 8, 2022
1 parent 7d1717b commit 02ca3a0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions _pages/avif.md
31 changes: 31 additions & 0 deletions _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

0 comments on commit 02ca3a0

Please sign in to comment.