Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load transparent background image color will change to black #5483

Open
charlie1081 opened this issue Feb 24, 2025 · 0 comments
Open

load transparent background image color will change to black #5483

charlie1081 opened this issue Feb 24, 2025 · 0 comments

Comments

@charlie1081
Copy link

charlie1081 commented Feb 24, 2025

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

virtual device display like this

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant