Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp @ 4273:0034f855c023
tuning log categories from command-line, and binary compat with orthanc framework 1.7.2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 12:24:50 +0100 |
parents | 4d42408da117 |
children | 9279de56a405 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp Tue Nov 03 07:19:33 2020 +0100 +++ b/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp Tue Nov 03 12:24:50 2020 +0100 @@ -1018,4 +1018,13 @@ writer.WriteToMemory(result, *image); } #endif + + +#if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1 + ImageAccessor *DicomImageDecoder::Decode(ParsedDicomFile& dataset, + unsigned int frame) + { + return Decode(*dataset.GetDcmtkObject().getDataset(), frame); + } +#endif }