Imebra cannot read private tags for implicit VR syntax

Issue #177 closed
Paolo Brandoli repo owner created an issue

When the transfer syntax is "Implicit VR" then Imebra throw an error for each private tag in the file. Instead it should assign the Unknown VR to the tag.

        if((!bExplicitDataType || tagId==0xfffe))
        {
            // Group length. Data type is always UL
            ///////////////////////////////////////////////////////////
            if(tagSubId == 0)
            {
                tagType = tagVR_t::UL;
            }
            else
            {
                tagType = dicomDictionary::getDicomDictionary()->getTagType(tagId, tagSubId); // Prevent this from throwing
                wordSize = dicomDictionary::getDicomDictionary()->getWordSize(tagType);
            }
        }

Comments (5)

  1. Log in to comment