Mercurial > hg > orthanc
diff Core/DicomParsing/Internals/DicomImageDecoder.cpp @ 2430:a6fab385b89e
fix for dcmtk 3.6.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 29 Oct 2017 17:38:55 +0100 |
parents | 5a7c5c541a1d |
children | 878b59270859 |
line wrap: on
line diff
--- a/Core/DicomParsing/Internals/DicomImageDecoder.cpp Fri Oct 27 13:04:41 2017 +0200 +++ b/Core/DicomParsing/Internals/DicomImageDecoder.cpp Sun Oct 29 17:38:55 2017 +0100 @@ -684,8 +684,11 @@ if (syntax == EXS_JPEGLSLossless || syntax == EXS_JPEGLSLossy) { + // The (2, OFTrue) are the default parameters as found in DCMTK 3.6.2 + // http://support.dcmtk.org/docs/classDJLSRepresentationParameter.html + DJLSRepresentationParameter representationParameter(2, OFTrue); + DJLSCodecParameter parameters; - DJLSRepresentationParameter representationParameter; std::auto_ptr<DJLSDecoderBase> decoder; switch (syntax)