Skip to content

load transparent background image color will change to black #5483

@charlie1081

Description

@charlie1081

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions