[Libreoffice-ux-advise] [Bug 104052] Add LibreColour HLC palette

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 22 11:33:12 UTC 2016


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

--- Comment #23 from Christoph Schäfer <christoph-schaefer at gmx.de> ---
(In reply to Tor Lillqvist from comment #20)
> > Possible for this particular palette but for none of the others
> 
> The others, if there similarly is a good idea to make it harder for people
> to intentionally (or unintentionally) edit the palette, could also be
> hard-coded in the source code instead of being separate files. (Obviously,
> any code additions and changes must be licensed the way we want, so it would
> still be possible to edit the palettes in the source code and recompile, but
> at least it would be a bit harder.)

That would require a lot of coding, because the underlying colour values are in
CIE LAB, so you'd need to create algorithms to convert CIE LAB to HLC, then
write an algorithm to create colour incrementals of 10 in CIE HLC, and also
skipping "impossible" colours, You'd also need to write code to convert CIE LAB
to sRGB using a widely recognised sRGB colour profile, because sRGB doesn't
equal sRGB, unfortunately.

freieFarbe / freeColour is currently working on the release of the source code
of a hitherto closed-source colour software under the GPL v.2. It includes all
of the required algorithms, which are also commented. Unfortunately, this takes
a lot of time, because the copying and licensing notifications need to be added
to every single source file (c. 4000). We also have to create the
infrastructure (source code repo, bugtracker, mailing list etc.).

In short, it'd be much easier to include the CIE-HLC palette as is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list