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

Write API: When using WriteElement API, ensure proper transfer syntax is used to encode the data (Write() works fine) #322

Open
suyashkumar opened this issue Jun 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@suyashkumar
Copy link
Owner

suyashkumar commented Jun 1, 2024

Right now, the WriteElement API blindly writes out elements to the output stream. I think this means we may not write out dicoms in the transfer syntax that may be in their metadata (the Write API which has the full dataset context does this properly, though).

We'll want to intercept the transfer syntax metadata element, and set a flag that will write all future non-metadata elements using that transfer syntax by default. Need to look into this a little more.

@suyashkumar suyashkumar changed the title Write API: When using WriteElement API, ensure proper transfer syntax is used to encode the data Write API: When using WriteElement API, ensure proper transfer syntax is used to encode the data (Write() works fine) Jun 1, 2024
@suyashkumar suyashkumar added the bug Something isn't working label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant