Kitware / glance

Kitware Glance is an open-source web application developed at Kitware for visualizing volumetric images, molecular structures, geometric objects, and point clouds. It is part of the ParaView platform and can serve as a foundation for building custom web-based visualization applications involving ITK.js and VTK.js.
https://kitware.github.io/glance
BSD 3-Clause "New" or "Revised" License
249 stars 87 forks source link

Some .dcm files don't work on chrome/firefox but do work on safari #367

Closed a3VonG closed 4 years ago

a3VonG commented 4 years ago

I was trying to upload this dicom slice (included here as a zip so first unzip before trying). image-00000.dcm.zip

On chrome and firefox I'm unable to load this slice and it seems to be stuck on the loading. I don't receive any error messages however. On safari the app loads in the slice perfectly. Any ideas on how this could be fixed?

Thank you!

floryst commented 4 years ago

I will check this out. Thanks for the report!

floryst commented 4 years ago

I don't have Safari to test things out, but initial research on Chrome points to cross-compiled GDCM from itk.js as being the underlying issue. It spin-waits while waiting for a thread, but there are no threads. This isn't a problem with GDCM per-say, but rather an artifact of cross-compiling. Not sure why it loads on Safari, however.

floryst commented 4 years ago

Update: I have a workaround for upstream itk-js that fixes this issue. Once a PR is made there, I'll then link to this issue.