Siril pixel Math, using parameters in iif().

Hi, I am new to Siril and pixelmath but it seems I am missing something:
With I1 the picture and k=0.2 the RGB/K I1k is working.
But iif(I1<k, I1
k, I1) results in an error. iif(I1<0.2, I1*0.2, I1) does work.
Please help.
Regards and thank you for an excellant program.

Should be I1 * k and
iif(I1<k, I1 * k, I1) …

Indeed. You found a bug.
Just fixed it. Thanks a lot !!

Appreciated. All the best for the work!
Regards
Thys

On the same subject
This works
iif(k > R, 0, R)
But this gives a syntax err
iif(R < k, 0, R)

Hopefully a simple fix…
Regards
Paul

Already fixed in master :slight_smile: