Root cause: Float32 accumulated ~0.017 error across 6 matrix multiplications (RGB→LMS→Lab→Lab→LMS→RGB), producing negative linear-green values that got clamped to 0 by toSRGB(). Fix: all matrix math now uses Double. Forward LMS matrix corrected to match Björn Ottosson's reference implementation. Variable shadowing eliminated. All 3 OklabTest cases now pass (were failing since initial commit). |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||