Mercurial > hg > orthanc-wsi
changeset 14:d9c49ab82931
fix for dcmtk 3.6.1
author | jodogne |
---|---|
date | Thu, 27 Oct 2016 10:05:53 +0200 |
parents | e944d00a8a9e |
children | 43041d52ab99 |
files | Framework/Outputs/MultiframeDicomWriter.cpp |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Outputs/MultiframeDicomWriter.cpp Thu Oct 27 10:01:10 2016 +0200 +++ b/Framework/Outputs/MultiframeDicomWriter.cpp Thu Oct 27 10:05:53 2016 +0200 @@ -33,6 +33,11 @@ #include <boost/lexical_cast.hpp> +#if DCMTK_VERSION_NUMBER <= 360 +# define EXS_JPEGProcess1 EXS_JPEGProcess1TransferSyntax +#endif + + namespace OrthancWSI { static void SaveDicomToMemory(std::string& target, @@ -153,7 +158,7 @@ case ImageCompression_Jpeg: // Default transfer syntax for lossy JPEG 8bit compression - transferSyntax_ = EXS_JPEGProcess1TransferSyntax; + transferSyntax_ = EXS_JPEGProcess1; break; case ImageCompression_Jpeg2000: