bumptech / bumptech/glide

Some specific gifs render strangely in views with smaller dimensions than the original gif.

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

Description

**Glide Version**:

4.14.2

**Integration libraries**:

com.github.bumptech.glide:okhttp3-integration:4.11.0

**Android Version**:

Android 9, API 28

**Issue details / Repro steps / Use case background**:

Screenshot:
![Screenshot_20221115_112750](https://user-images.githubusercontent.com/1712837/201834272-5211b37f-9135-4a64-8b65-f84986e0664c.png)

The first view(with weird vertical lines) in the screenshot is displayed with dimensions 767px\*399px and the second view is displayed with dimensions 766px\*799px.

**Glide load line**:
```java
Glide.with(layout.getContext()).load(getResource()).fitCenter().into(view);
```

**Attachment(original gif)**:

[battery.zip](https://github.com/bumptech/glide/files/10009628/battery.zip)

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.