bumptech / bumptech/glide

load transparent background image color will change to black

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

Description

glide version

com.github.bumptech.glide:compiler:4.16.0

load like this
```
Glide.with(this)
.asBitmap()
.load(R.drawable.belowImage)
.apply(
RequestOptions()
.format(DecodeFormat.PREFER_ARGB_8888)
.dontTransform()
)
.into(vb.ivTest)
```

my image

![Image](https://github.com/user-attachments/assets/f8aeac54-5900-4a54-85a6-c9a27e360663)

virtual device display like this

![Image](https://github.com/user-attachments/assets/9eda1e92-285f-4e6d-bdfe-817a41ecc61f)

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.