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

RoundedCornersTransformation has some problem to handle a translucent picture #170

Open
RomanticHua opened this issue Feb 22, 2020 · 0 comments

Comments

@RomanticHua
Copy link

this is my code

int dp10 = DisplayUtils.dp2px(10); RoundedCornersTransformation transformation = new RoundedCornersTransformation(dp10, 0, RoundedCornersTransformation.CornerType.TOP_RIGHT); Glide.with(this).load(R.mipmap.ic_pic_close) .apply(RequestOptions.bitmapTransform(transformation)) .into(iv);

my glide version is 4.9.0 , and my glide_transformations version is 4.1.0

my original picture is translucent.

ic_pic_close

it's show in phone like this
image

i don't know why top-right corner has a shadow.

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