Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/Internals/StoreScp.cpp @ 4137:6774605d4341
keep only one signature for FromDcmtkBridge::ExtractDicomSummary()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Aug 2020 17:38:55 +0200 |
parents | 2724977419fb |
children | 0ddc5297a8ab |
comparison
equal
deleted
inserted
replaced
4136:2724977419fb | 4137:6774605d4341 |
---|---|
160 | 160 |
161 try | 161 try |
162 { | 162 { |
163 std::set<DicomTag> ignoreTagLength; | 163 std::set<DicomTag> ignoreTagLength; |
164 | 164 |
165 FromDcmtkBridge::ExtractDicomSummary(summary, **imageDataSet, 0 /* don't truncate tags */); | 165 FromDcmtkBridge::ExtractDicomSummary(summary, **imageDataSet, ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength); |
166 FromDcmtkBridge::ExtractDicomAsJson(dicomJson, **imageDataSet, ignoreTagLength); | 166 FromDcmtkBridge::ExtractDicomAsJson(dicomJson, **imageDataSet, ignoreTagLength); |
167 | 167 |
168 if (!FromDcmtkBridge::SaveToMemoryBuffer(buffer, **imageDataSet)) | 168 if (!FromDcmtkBridge::SaveToMemoryBuffer(buffer, **imageDataSet)) |
169 { | 169 { |
170 LOG(ERROR) << "cannot write DICOM file to memory"; | 170 LOG(ERROR) << "cannot write DICOM file to memory"; |