You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm struggling to use this library for some image processing and palette mapping tasks. I've found that transforming to oklab and back significantly brightens and desaturates colors.
Nevermind - this is fixed at HEAD. I resolved this in my project temporarily by cloning this repository and running nimble install from the root folder.
hii!
i'm struggling to use this library for some image processing and palette mapping tasks. I've found that transforming to oklab and back significantly brightens and desaturates colors.
Color
#F8DB57
turns into#FCF4BA
.Here's some assorted roundtrips:
Output:
#FF1580
->#1A89CC
#B543B5
->#E9A8E6
#DBCA21
->#F1EF99
#28B837
->#9CE9A0
#E254E2
->#FBB5F8
#5103BC
->#B06BF8
#3F51B2
->#A0B0E7
#DB26C5
->#0196EF
#B44D3E
->#EAAEA1
#803A22
->#D09E86
Each pair of colors should be identical (before converting to OkLab and after). But for many of these pairs, even the hue is wildly off.
The text was updated successfully, but these errors were encountered: