Closed z-nino closed 2 years ago
Are you using node or a specific browser? Can you share a dataset to replicate the issue? It may be that you are hitting a system resource limit on the size of instance that can be handled.
We are using the Chrome browser. Here is the dicom in question: https://drive.google.com/file/d/1nrrrfbHFySYVwWb_NtkzVr8WRFCuTe7I/view?usp=sharing
I was going to have a look at this but the link is dead. I guess the issue is resolved or you determined this was a browser limitation, but reopen this issue if you think there's something wrong in the library.
(0008, 0005) Specific Character Set CS: 'ISO_IR 192' (0008, 0016) SOP Class UID UI: Encapsulated PDF Storage (0008, 0018) SOP Instance UID UI: 1.9.9.01003197320704082022 (0008, 0023) Content Date DA: '20220804' (0008, 0033) Content Time TM: '010031.964232' (0008, 0060) Modality CS: 'DOC' (0008, 0064) Conversion Type CS: 'WSD' (0010, 0010) Patient's Name PN: 'John Doe' (0010, 0020) Patient ID LO: '12345' (0010, 0040) Patient's Sex CS: 'M' (0020, 000d) Study Instance UID UI: 1.9.9.01003196523004082022 (0020, 000e) Series Instance UID UI: 1.9.9.01003197320704082022 (0042, 0011) Encapsulated Document OB: Array of 27714 elements (0042, 0012) MIME Type of Encapsulated Document LO: 'application/pdf'
When I try to read a ArrayBuffer of a big Dicom (1.13 GB), I get this error:
Code:
let DicomDict = dcmjs.data.DicomMessage.readFile(dicom.content);
Dicoms which are smaller in size, are read without any problems.