diff Core/DicomParsing/FromDcmtkBridge.h @ 3872:b40dfa6dc8da transcoding

working on a simpler abstraction for transcoding
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 30 Apr 2020 14:39:28 +0200
parents ca36e3f1112c
children f23ab7829a8d
line wrap: on
line diff
--- a/Core/DicomParsing/FromDcmtkBridge.h	Wed Apr 29 14:38:20 2020 +0200
+++ b/Core/DicomParsing/FromDcmtkBridge.h	Thu Apr 30 14:39:28 2020 +0200
@@ -203,13 +203,16 @@
     static std::string GenerateUniqueIdentifier(ResourceType level);
 
     static bool SaveToMemoryBuffer(std::string& buffer,
+                                   DcmFileFormat& dicom,
+                                   DicomTransferSyntax xfer);
+    
+    static bool SaveToMemoryBuffer(std::string& buffer,
                                    DcmDataset& dataSet);
 
     static bool SaveToMemoryBuffer(std::string& buffer,
                                    DcmFileFormat& dicom);
 
-    static bool Transcode(std::string& buffer,
-                          DcmFileFormat& dicom,
+    static bool Transcode(DcmFileFormat& dicom,
                           DicomTransferSyntax syntax,
                           const DcmRepresentationParameter* representation);