bumptech / bumptech/glide

[4.13.2] Transparent layer is not working with Avif

Open
#4,807 3 comments 0 reactions 0 assignees View on GitHub
AVIF
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

I use glide `4.13.2` with avif support
```
implementation("com.github.bumptech.glide:glide:4.13.2")
implementation("com.github.bumptech.glide:avif-integration:4.13.2")
implementation("com.github.bumptech.glide:annotations:4.13.2")
annotationProcessor("com.github.bumptech.glide:compiler:4.13.2")
```

but I am stuck with transparent layer. All images got problems with background: green, black or problems with displaying.

**Example avifs with device output**
[All avifs and device output screens](https://github.com/bumptech/glide/files/8786157/images.zip)

How Glide renders it on my Pixel 5
1. Black background instead of transparancy
car1-device

2. Black background instead of transparancy
shade-device

3. No image, bu transparancy :)
mask-device

4. Green background instead of transparancy
car2-device

5. Black background instead of transparancy
burger-device

You can find all avifs by link above.

**Device**: Pixel 5 Android 12

Is it a known problem? I saw the similar problem in #4751

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.