bumptech / bumptech/glide

Images become blurry when using a specific placeholder with adjustViewBounds=true

Open
#5,650 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

When I load images using the code below, the images become blurry, as shown in the screenshot.

`Glide.with(this).load("https://rmt-1.oss-cn-hangzhou.aliyuncs.com/image/test.png").placeholder(R.drawable.ui_default_img).error(R.drawable.ui_default_img).into(iv_img1);`

You can download the ui_default_img.9.png placeholder image from the following URL:
[https://rmt-1.oss-cn-hangzhou.aliyuncs.com/image/ui_default_img.9.png](url)

The screenshot below shows the issue. It's a bit blurry compared to the original.
Image

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.