|
|
On 5/12/2021 11:00 PM, Mike Horvath wrote:
> 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
I may end up using your macro regardless because I am a dummy.
Mike
Post a reply to this message
|
|