dcmjs-org / dcmjs

Javascript implementation of DICOM manipulation
https://dcmjs.netlify.com/
MIT License
291 stars 110 forks source link

Offset is outside the bounds of the DataView #300

Open ledinhthi opened 2 years ago

ledinhthi commented 2 years ago

I got a problem when i read data from python server @richard-viney : Here is python dcm server dataset: Dataset.file_meta ------------------------------- (0002, 0002) Media Storage SOP Class UID UI: Encapsulated PDF Storage (0002, 0003) Media Storage SOP Instance UID UI: 2.16.840.1.114430.287196081618142314176776725491661159509.60.1 (0002, 0010) Transfer Syntax UID UI: Explicit VR Little Endian (0002, 0012) Implementation Class UID UI: 1.3.46.670589.50.1.8.0

(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'

please help me to check