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

Sometime on network broken get half image #1789

Closed
chwakil opened this Issue Mar 7, 2018 · 2 comments

Comments

3 participants
@chwakil

chwakil commented Mar 7, 2018

Sometime on network broken I get half image with Picasso request and loading again Picasso return the same half image. After clearing cache of the application and downloading again url return correct image. Why not Picasso checks this automatically that is image content length same as server or not after downloading finish.

@JakeWharton

This comment has been minimized.

Collaborator

JakeWharton commented Mar 7, 2018

Dupe of #836. This is a bug in Android's bitmap decoding which incorrectly returns a bitmap without fully decoding and without throwing an exception. Sadly we have no control over this.

@JakeWharton JakeWharton closed this Mar 7, 2018

@Nomaan-Khan

This comment has been minimized.

Nomaan-Khan commented Apr 26, 2018

Atleast Picasso can make sure if the full content is received , Android is decoding whatever it gets, User might want to display half image only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment