Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derive automatically the value for the frist tag (0x0002, 0x0000) of the DICOM file. #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AaronGhost
Copy link
Contributor

Derive automatically the value for the frist tag (0x0002, 0x0000) of the DICOM file.

The tag contains the length (in bytes) of the rest of the Meta Information group of tags and can change when changing the SOP Instance UID and/or the Implementation version name, etc...

This is achieved here by dividing the writing process in two parts to write the meta_elements first and then update the value of the Tag.

Let me know if it needs any further changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant