|
|
On 4/1/2021 12:16 PM, Subclick wrote:
> Perhaps we could use a macro like this in the ‘colors.inc’ file:
>
> // Converts a color given in sRGB space to one in the ordinary RGB
> // space determined by ‘assumed_gamma’.
> #macro CsRGB2RGB(Color)
> #local Result = srgbft Color
> (Result)
> #end
>
> Now ‘#declare C4 = CsRGB2RGB(rgb <.5, .3, .7>)*50000;’ does work.
>
If we removed the srgb keyword and forced users to use a macro or some
other internal command like this, would it be more dummy-proof?
Mike
Post a reply to this message
|
|