Mercurial > hg > orthanc
diff OrthancServer/FromDcmtkBridge.cpp @ 1316:1c8dfedefefe
Fix anonymization generating non-portable DICOM files
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Feb 2015 14:12:11 +0100 |
parents | f796207e3df1 |
children | 0649c5aef34a |
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.cpp Thu Feb 12 13:28:47 2015 +0100 +++ b/OrthancServer/FromDcmtkBridge.cpp Thu Feb 12 14:12:11 2015 +0100 @@ -696,6 +696,7 @@ // Create the meta-header information DcmFileFormat ff(&dataSet); ff.validateMetaInfo(xfer); + ff.removeInvalidGroups(); // Create a memory buffer with the proper size uint32_t s = ff.calcElementLength(xfer, encodingType);