diff OrthancServer/ServerContext.h @ 3944:aae045f802f4 transcoding

preparing simplified interface for IDicomTranscoder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 May 2020 10:17:06 +0200
parents c205f670098e
children 0b3256c3ee14
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Mon May 18 21:37:31 2020 +0200
+++ b/OrthancServer/ServerContext.h	Tue May 19 10:17:06 2020 +0200
@@ -493,5 +493,11 @@
       size_t size,
       const std::set<DicomTransferSyntax>& allowedSyntaxes,
       bool allowNewSopInstanceUid) ORTHANC_OVERRIDE;
+
+    virtual bool Transcode(DicomImage& target,
+                           bool& hasSopInstanceUidChanged /* out */,
+                           DicomImage& source /* in, "GetParsed()" possibly modified */,
+                           const std::set<DicomTransferSyntax>& allowedSyntaxes,
+                           bool allowNewSopInstanceUid) ORTHANC_OVERRIDE;
   };
 }