Blob Blame History Raw
From a7a973999bbfb30ec7113e6e6a92b2f340654661 Mon Sep 17 00:00:00 2001
From: "Ankur Sinha (Ankur Sinha Gmail)" <sanjay.ankur@gmail.com>
Date: Sun, 28 Jul 2019 22:44:56 +0100
Subject: [PATCH 15/16] 3.6.4 Update colorTransformation for CharLS 2

---
 dcmjpls/libsrc/djcodece.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dcmjpls/libsrc/djcodece.cc b/dcmjpls/libsrc/djcodece.cc
index c6f4a5596..707b94dcb 100644
--- a/dcmjpls/libsrc/djcodece.cc
+++ b/dcmjpls/libsrc/djcodece.cc
@@ -578,7 +578,7 @@ OFCondition DJLSEncoderBase::compressRawFrame(
   jls_params.allowedLossyError = 0; // must be zero for raw mode
   jls_params.outputBgr = false;
   // No idea what this one does, but I don't think DICOM says anything about it
-  jls_params.colorTransformation = 0;
+  jls_params.colorTransformation = charls::ColorTransformation::None;
 
   // Unset: jls_params.jfif (thumbnail, dpi)
 
@@ -1005,7 +1005,7 @@ OFCondition DJLSEncoderBase::compressCookedFrame(
   jls_params.outputBgr = false;
   jls_params.bitsPerSample = depth;
   // No idea what this one does, but I don't think DICOM says anything about it
-  jls_params.colorTransformation = 0;
+  jls_params.colorTransformation = charls::ColorTransformation::None;
 
   // This was already checked for a sane value above
   jls_params.components = samplesPerPixel;
-- 
2.21.0