https://bugs.kde.org/show_bug.cgi?id=404080

--- Comment #10 from reptilli...@live.com ---
Created attachment 118143
  --> https://bugs.kde.org/attachment.cgi?id=118143&action=edit
What the Burn Blend Mode should look like

As I am having a computer overheating problem, I have to request somebody to
verify that this code replacement to current burn log function works. The
sample shows the end result when this works.

template<class T>
inline T cfColorBurnLogarithmic(T src, T dst) {
    using namespace Arithmetic;
    //Also known as Darken from EffectBank/Illusions.hu. IFS Illusions had used
this blending mode.

    qreal fsrc = scale<qreal>(abs(src));
    qreal fdst = scale<qreal>(abs(dst));

    if (dst == unitValue<T>()) {return scale<T>(log2(1.0 + fsrc/0.000000125);}  

    return scale<T>(log2(1.0 + fsrc/((inv(fdst))/8))); 
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to