Mercurial > hg > orthanc
diff OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 3913:6ddad3e0b569 transcoding
transcoding ZIP archive and media
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 May 2020 19:15:28 +0200 |
parents | 7610af1532c3 |
children | 7dc5e7e0045d |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp Fri May 08 13:43:50 2020 +0200 +++ b/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp Fri May 08 19:15:28 2020 +0200 @@ -134,8 +134,9 @@ DicomTransferSyntax sourceSyntax; bool hasSopInstanceUidChanged; - if (context.Transcode(transcoded, sourceSyntax, hasSopInstanceUidChanged, - *modified, targetSyntax, true)) + if (context.GetTranscoder().TranscodeParsedToBuffer( + transcoded, sourceSyntax, hasSopInstanceUidChanged, + modified->GetDcmtkObject(), targetSyntax, true)) { call.GetOutput().AnswerBuffer(transcoded, MimeType_Dicom); }