Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a page for the AVIF integration library (#4735)
The AVIF integration library was added to Glide in #4734.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../_posts/2022-01-26-avif.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |