[Libreoffice-bugs] [Bug 135561] Extend Adobe .ase colour palette support

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 10 17:23:45 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=135561

--- Comment #3 from Julien Nabet <serval2412 at yahoo.fr> ---
(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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200810/7d01af15/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list