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

stowrs and pdf2dcm utilities : Supplement Encapsulated Document Length (0042,0015) attribute #906

Closed
malaterre opened this issue Mar 4, 2021 · 0 comments
Assignees
Milestone

Comments

@malaterre
Copy link

malaterre commented Mar 4, 2021

Is your feature request related to a problem? Please describe.

When uploading a PDF with odd length, the bulk data is even padded with a trailing zero. The actual PDF file size is lost.

Describe the solution you'd like

STOW-RS should make sure to set a value for attribute Encapsulated Document Length (0042,0015).

Resolution

Support supplementing Encapsulated Document Length (0042,0015) in attributes if following option is specified in :

--encapsulatedDocLength       If specified, supplement Encapsulated
                              Document Length (0042,0015) attribute in
                              metadata for encapsulated document
                              uploads.
--encapsulatedDocLength       If specified, supplement Encapsulated
                              Document Length (0042,0015) attribute in
                              metadata.
@gunterze gunterze added this to the 5.23.2 milestone Mar 4, 2021
@vrindanayak vrindanayak changed the title STOW-RS: Add Encapsulated Document Length stowrs and pdf2dcm utilities : Supplement Encapsulated Document Length (0042,0015) attribute Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants