mm2 / Little-CMS

A free, open source, CMM engine. It provides fast transforms between ICC profiles.
https://www.littlecms.com
MIT License
549 stars 174 forks source link

More decimals for Oklab #382

Closed sommerluk closed 1 year ago

sommerluk commented 1 year ago

This pull request augments the precision of the inverse matrices used on Oklab color space. This makes round-trip conversions like https://github.com/mm2/Little-CMS/blob/f4e9f9122a001b71219d9b2d2a6ec5b8c784d785/testbed/testcms2.c#L8396 slightly more exact (the variable xyz and xyz2 are slightly more similar).