cornerstone3D icon indicating copy to clipboard operation
cornerstone3D copied to clipboard

[Bug] dicomParser.readPart10Header: DICM prefix not found at location 132 - this is not a valid DICOM P10 file.

Open rain-yu opened this issue 1 year ago • 1 comments

Describe the Bug

Hello, I have a dicom file that cannot be displayed. It may not be caused by a standard dicom file. Can this file be compatible? Thank you image

The problematic attachment is below, thank you

dicom.zip

Steps to Reproduce

  1. Select the attachment I provided and upload it to the official example page https://www.cornerstonejs.org/live-examples/local.html

  2. After uploading, the console will prompt that the file is invalid

The current behavior

The currently selected dicom file cannot be rendered correctly

The expected behavior

I hope it can be displayed correctly because it can be displayed in other dicom software

OS

macos

Node version

16.14

Browser

chrome

rain-yu avatar Mar 16 '24 13:03 rain-yu

Hello @rain-yu , this is actually related to the dicom parser library, here is an issue where they discuss how you can solve it, but in summary your file is missing headers so that it is recognized as a dicom file.

focusaway avatar Mar 25 '24 15:03 focusaway