<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Extend Adobe .ase colour palette support"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135561#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Extend Adobe .ase colour palette support"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135561">bug 135561</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>(In reply to Tomaz Vajngerl from <a href="show_bug.cgi?id=135561#c2">comment #2</a>)
<span class="quote">> Yes, we need to add the code to convert from other colorspaces to RGB as we
> only handle RGB (and grayscale).</span >

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 <a href="http://www.brucelindbloom.com/index.html?Equations.html">http://www.brucelindbloom.com/index.html?Equations.html</a>

For the rest, formula, coefficients may differ. It also depends on parameters
like "white point" and other elements that I don't know.
See:
- <a href="https://en.wikipedia.org/wiki/CIELAB_color_space#RGB_and_CMYK_conversions">https://en.wikipedia.org/wiki/CIELAB_color_space#RGB_and_CMYK_conversions</a>
- <a href="http://www.brucelindbloom.com/index.html?Equations.html">http://www.brucelindbloom.com/index.html?Equations.html</a>
...
Not easy...

Another thing I noticed too, according to
<a href="https://www.cyotek.com/blog/reading-adobe-swatch-exchange-ase-files-using-csharp">https://www.cyotek.com/blog/reading-adobe-swatch-exchange-ase-files-using-csharp</a>,
nChunkType should be 2 bytes and nChunkSize 4 bytes. In LO codes, it's the
contrary.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>