DICOM tags are sorted in order in a dicom file. The expectation with untilTag is that parsing will stop as soon as any tag greater then the requested tag is met. This makes it possbiel to parse file parially, say to omit the group 6000 and pixel data, without knowing the presence of a given tag.
DICOM tags are sorted in order in a dicom file. The expectation with untilTag is that parsing will stop as soon as any tag greater then the requested tag is met. This makes it possbiel to parse file parially, say to omit the group 6000 and pixel data, without knowing the presence of a given tag.
Fixes https://github.com/cornerstonejs/dicomParser/issues/104
This was only superficially tested.