question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Large image loading fails (6000 X 4000 px)

See original GitHub issue

This image does not seem to load using picasso.

Image Properties: Type: JPG file Dimensions: 6000 X 4000 pixels Size: 12.2 MB

Error Log:

D/Picasso: Main        created      [R16] Request{url.. resize(100,100) centerCrop}
D/Picasso: Hunter      executing    [R16]+1ms 
D/Picasso: Dispatcher  enqueued     [R16]+1ms 
D/libc-netbsd: [getaddrinfo]: hostname=192.168.0.10; servname=(null); netid=0; mark=0
D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
I/System.out: [CDS]rx timeout:20000
I/System.out: [CDS]SO_SND_TIMEOUT:0
I/System.out: [OkHttp] sendRequest>>
I/System.out: [OkHttp] sendRequest<<
D/skia: jpeg_decoder mode 0, colorType 4, w 6000, h 4000, sample 1, bsLength 0!!
I/System.out: close [socket][/192.168.0.106:45679]
D/Picasso: Dispatcher  retrying     [R16]+738ms 
D/Picasso: Hunter      executing    [R16]+739ms 
D/libc-netbsd: [getaddrinfo]: hostname=192.168.0.10; servname=(null); netid=0; mark=0
D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
I/System.out: [CDS]rx timeout:20000
I/System.out: [CDS]SO_SND_TIMEOUT:0
I/System.out: [OkHttp] sendRequest>>
I/System.out: [OkHttp] sendRequest<<
D/skia: jpeg_decoder mode 0, colorType 4, w 6000, h 4000, sample 1, bsLength 0!!
I/System.out: close [socket][/192.168.0.106:55039]
I/System.out: [CDS]shutdownInput in read
I/System.out: close [socket][/:::55039]
I/System.out: close [socket][/:::55039]
D/Picasso: Dispatcher  retrying     [R16]+1398ms 
D/Picasso: Hunter      executing    [R16]+1399ms 
D/Picasso: Dispatcher  batched      [R16]+1403ms for error
D/Picasso: Dispatcher  delivered    [R16]+1609ms 
D/Picasso: Main        errored      [R16]+1614ms 

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
dunwencommented, Jun 26, 2017

use glide solve this problem…

1reaction
CoolMindcommented, Feb 26, 2018

Do you really need such a large image? Simple resize it to a bitmap, then make all you want.

Bitmap bitmap = Picasso.with(getContext()).load(uri).resize(2000, 0).get();

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Resize an Image without Losing Quality - HubSpot Blog
High-quality images are larger in file size, which can result in slow ... Let's say the image you want to resize is 6000...
Read more >
Understanding File Types, Bit Depth, Image Data Size. With ...
Image size is always dimensioned in pixels, for example 6000x4000 pixels, or 24 megapixels. Expressing Image Size in bytes of File Size is...
Read more >
How can I resize my art to the required pixel dimensions?
Click "Open Image" · Select your image and click Open · Click Properties to the left of the screen · Click on RESIZE...
Read more >
Resizing images for the web - ALL you need to know
Resizing images for the web - In this article, we will look at digital imaging concepts to do with resolution, image size and...
Read more >
How large of a picture can be printed from an image ... - Quora
How large of a picture can be printed from an image that is 6000 x 4000 pixels (12.2 MB) without losing quality?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found