I need to do some low level custom pixel image processing in CIE XYZ, CIE L* a* b* and CIE LCh.
What API should I use to convert raw pixel data between color spaces (eg device, sRGB, linear RGB and the ones mentioned above)?
I'm Interested in knowing more about the options available for both macOS and iOS, both fast (perhaps less accurate) and accurate (perhaps slower) methods.
This is something that every major graphics app does but I haven't been able to find any definite / obvious solutions.
(I have tried several different options, including rolling my own from scratch, but this seems like a prime example of something that shouldn't be necessary to reinvent.)