|
|
On 03/11/2023 12:59, William F Pokorny wrote:
> On 11/2/23 11:40, kurtz le pirate wrote:
>> I can code other colors conversion method found on
>> <https://www.rapidtables.com/convert/color/index.html>
>> Tell me if it's worth it...
>
> Thanks for the offer, but my up front answer is hold off for now -
> unless doing it for your own interests.
>
> I'm unsure of the overall worth without diving into what is there. My
> todo list is effectively infinite - and the extended include file work
> will likely not see much attention for a while.
>
> That said. When we do get to a color manipulation include, we'd want to
> look in more detail at the code we have long had versus any new. What we
> have I believe works. However, the immediately attractive aspect of your
> hsb2rgb() code is it's cleaner than CHSV2RGB(). No pointless conversions
> of individual parameters into a vector only to peel the vector apart
> again inside the CHSV2RGB() macro for a start.
>
> Are the other conversion methods on that site also cleaner than what
> we've long had coded? Some like the hex color inputs would be useful
> just to have, but the end code there should probably be a parser inbuilt
> - maybe some extension of the 'srgb*' specification methods?
>
> Bill P.
>
>
ok. if one day you need something, don't hesitate ;)
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|