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.

Image can not be displayed in some browsers on Android platform

See original GitHub issue

Hi I stumbled upon a bug today. I think there is a bug in some browsers, such as qq/uc browser(google is normal) on Android platform (If the dicom file is not compressed or by jpeg-2000 compressed, it is normal and can be displayed in any browsers). And the bug doesn’t display in IOS platform. jpeg-ls.zip

My dicom file is compressed by jpeg lossless

I have debug cornerstoneWADOImageLoader step by step, then i can not enter this function (when taskType == ‘decodeTask’): ###cornerstoneWADOImageLoaderWebWorker.js

 if (taskHandlers[msg.data.taskType]) {
   taskHandlers[msg.data.taskType].handler(msg.data, function (result, transferList) {
     self.postMessage({
       taskType: msg.data.taskType,
       status: 'success',
       result: result,
       workerIndex: msg.data.workerIndex,
         }, transferList);
   });

Maybe there is an error inside the hander method (I can’t debug the internal method of the hander, so I am confused ).

If someone can use the browser test I mentioned on the Android platform, it should be easy to reproduce the problem.

This problem can only occur in some browsers (qq/uc etc.) on the Android platform.

I am confused, I don’t know how to solve this problem.

The attachment is compressed by jpeg-ls and can be used for testing.

Thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hu3402379commented, Oct 26, 2018

@dannyrb Thank you for taking the time to test。 I found that JPEG-LS decode takes up more memory than JPEG LOSSLESS during the testing in browser,and some android devices browser can not display JPEG-LS image。

So I think this problem can be turned off and i will find some way to get the exception from web work code if i am free.

Thanks a lot.

1reaction
hu3402379commented, Oct 25, 2018

@dannyrb I have created a repo for android devices test. This is test link

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix pictures not showing on Google Chrome
How to fix pictures not showing on Google Chrome · Check if the “show images” setting is enabled · Clear browser cache and...
Read more >
7 Ways to Fix Google Chrome Not Loading Images - MakeUseOf
2. Go Incognito ... A conflicting browser extension might stop it from loading images. The best way to test this is to use...
Read more >
How to Fix Images Not Loading in Chrome - Online Tech Tips
When Chrome doesn't display images on a site, switch to another web browser on your computer and see if you can load the...
Read more >
Images aren't displaying in my phone's web browser - HTC
Navigate to Settings > Apps and select the browser app. · Tap Storage. · Tap Clear cache.
Read more >
Resolve the Images Not Showing Problem on Any Website
One of the most common reasons for displaying broken images could be related to an old or corrupt web browser. For instance, if...
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