Mercurial > hg > orthanc
diff Core/DicomParsing/FromDcmtkBridge.h @ 3748:ca36e3f1112c transcoding
transcoding to uncompressed transfer syntaxes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 13 Mar 2020 16:50:13 +0100 |
parents | 33c19a6643e1 |
children | b40dfa6dc8da |
line wrap: on
line diff
--- a/Core/DicomParsing/FromDcmtkBridge.h Fri Mar 13 08:32:13 2020 +0100 +++ b/Core/DicomParsing/FromDcmtkBridge.h Fri Mar 13 16:50:13 2020 +0100 @@ -205,6 +205,14 @@ static bool SaveToMemoryBuffer(std::string& buffer, DcmDataset& dataSet); + static bool SaveToMemoryBuffer(std::string& buffer, + DcmFileFormat& dicom); + + static bool Transcode(std::string& buffer, + DcmFileFormat& dicom, + DicomTransferSyntax syntax, + const DcmRepresentationParameter* representation); + static ValueRepresentation Convert(DcmEVR vr); static ValueRepresentation LookupValueRepresentation(const DicomTag& tag);