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

            Bug ID: 437071
           Summary: Python setHDR Exposure and Gamma don't work
           Product: krita
           Version: 4.4.3
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: keyth2363...@gmail.com
  Target Milestone: ---

SUMMARY
the Python commands setHDRExposure() and setHDRGamma() do not apply any
exposure or gamma.


STEPS TO REPRODUCE
1. Open any image
2. Go to LUT Management and activate OpenColorIO and check gamma values if it
changes the image then place it back to 1.0
3. Run this basic script inside the scripter plugin
"""
import krita

n = 2

av = Krita.instance().activeWindow().activeView()
av.setHDRGamma(n)
s = av.HDRGamma()
print(s)
"""
4. Image remains unchanged

OBSERVED RESULT
It sets a Gamma value to be used in Krita. When reading the amount of Gamma is
it is correctly read the change of amount 2. However no change can be seen on
the image itself to reflect it. This is also valid for HDRExposure as it
behaves the same.


EXPECTED RESULT
see change to the image after applying a change in Gamma or Exposure to the
equivalent value set.


SOFTWARE/OS VERSIONS
Windows: 10
Qt Version: 5.12.9

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

Reply via email to