itk-wasm
itk-wasm copied to clipboard
[Feature Request] Remove trailing spaces in dicom tag values
Although the spec is designed to allow trailing spaces, it is most likely useless in practice. I have tested with tools and libs, none of them provide the dicom tag value as is.
The trailing spaces can be removed by default, or by providing an optional flag to allow it.
@shunia, would you like to create a patch to add this behavior behind an option flag?