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

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/20cccbc193
                   |                            |049acef036b98a60afb8ca06cc7
                   |                            |f22
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Zamundaaa <[email protected]> ---
Git commit 20cccbc193049acef036b98a60afb8ca06cc7f22 by Xaver Hugl.
Committed on 19/02/2026 at 15:16.
Pushed by zamundaaa into branch 'master'.

core/iccprofile: calculate inverse TRC ourselves

Some (incredibly) broken profiles have the TRC and VCGT merged. The "TRC" tags
of such profiles can have curves where a 100% input value does not map to 100%
of the output value. Inverting such curves with LCMS doesn't yield the desired
result, as it maps 100% input to 100% output.
This commit fixes that by just inverting the TRC in a new function, which also
checks for the maximum output value and ignores all values above it.

M  +67   -4    src/core/iccprofile.cpp

https://invent.kde.org/plasma/kwin/-/commit/20cccbc193049acef036b98a60afb8ca06cc7f22

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

Reply via email to