[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    [krita] plugins/filters/colorsfilters: Fix the order of application of color correction curves in th
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2016-05-02 16:30:46
Message-ID: E1axGkA-0006Kj-AR () scm ! kde ! org
[Download RAW message or body]

Git commit 4023a33a8680a8f3c92141fe009b820152c1428c by Dmitry Kazakov.
Committed on 02/05/2016 at 16:30.
Pushed by dkazakov into branch 'master'.

Fix the order of application of color correction curves in the "Curves" filter

Now the order of transformations fits the order of other popular
applications, including Gimp:

1) Apply per-channel color curves
2) Apply composite RGB color curve, which changes all the channels
   at once
3) Apply the lightness curve in the end

CC:kimageshop@kde.org
BUG:324332
Fixes T2083

M  +2    -2    plugins/filters/colorsfilters/kis_perchannel_filter.cpp

http://commits.kde.org/krita/4023a33a8680a8f3c92141fe009b820152c1428c

diff --git a/plugins/filters/colorsfilters/kis_perchannel_filter.cpp \
b/plugins/filters/colorsfilters/kis_perchannel_filter.cpp index aaecd84..5ce0125 \
                100644
--- a/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
+++ b/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
@@ -584,9 +584,9 @@ KoColorTransformation* \
KisPerChannelFilter::createTransformation(const KoColorSp  }
 
     QVector<KoColorTransformation*> allTransforms;
-    allTransforms << lightnessTransform;
-    allTransforms << allColorsTransform;
     allTransforms << colorTransform;
+    allTransforms << allColorsTransform;
+    allTransforms << lightnessTransform;
 
     return KoCompositeColorTransformation::createOptimizedCompositeTransform(allTransforms);
  }
_______________________________________________
Krita mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic