bumptech / bumptech/glide

Glide encountered an abnormal loading of a certain URL, while there are currently no issues with other URLs.

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

Loading images through Glide, this way of loading, linking https://i-blog.csdnimg.cn/direct/efed520f694b4f31aa30e236c7bfa0ed.jpeg Cannot load normally.

Specific code:
// Glide.with(this)
// .load(url)
// .into(imageView);
or
// Glide.with(this)
// .asBitmap()
// .load(url)
// .apply(requestOptions)
// .into(new ImageViewTarget(imageView) {
// @Override
// protected void setResource(@Nullable Bitmap resource) {
// imageView.setImageBitmap(resource);
// }
// });

By querying the Android folder and glide cache, it can be confirmed that the image download is successful and can be previewed on the PC end.
Moreover, images can also be loaded normally through BitmapFactory. decodeFile (filePath, options).
Verified by the Picasso framework, it can be loaded normally.
So, it can be concluded that the Glide framework encountered problems when parsing into a bitmap. Can you help to query and fix it?

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.