https://bugs.documentfoundation.org/show_bug.cgi?id=135561
--- Comment #3 from Julien Nabet <[email protected]> ---
(In reply to Tomaz Vajngerl from comment #2)
> Yes, we need to add the code to convert from other colorspaces to RGB as we
> only handle RGB (and grayscale).
yes but I read several links and the only thing that's sure is it needs a
2-steps conversion:
- convert LAB to XYZ
- convert XYZ to RGB
See http://www.brucelindbloom.com/index.html?Equations.html
For the rest, formula, coefficients may differ. It also depends on parameters
like "white point" and other elements that I don't know.
See:
- https://en.wikipedia.org/wiki/CIELAB_color_space#RGB_and_CMYK_conversions
- http://www.brucelindbloom.com/index.html?Equations.html
...
Not easy...
Another thing I noticed too, according to
https://www.cyotek.com/blog/reading-adobe-swatch-exchange-ase-files-using-csharp,
nChunkType should be 2 bytes and nChunkSize 4 bytes. In LO codes, it's the
contrary.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs