Date: prev next · Thread: first prev next last
November 2016 Archives by date, by thread · List index


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

--- Comment #23 from Christoph Schäfer <christoph-schaefer@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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.