Color Mask Error

andyp

Member
Hello! Not sure if this is correct place to post this but running the ColorMask script (not a PI standard) I get this error:

*** Error: Disassociated subexpressions:

iif(CIEh($T)<=0,~mtf((0-CIEh($T))/0.16666666666666674,0)*CIEc($T),iif(CIEh($T)<0.6666666666666666,0,iif(CIEh($T)<=0.8333333333333333,~mtf((CIEh($T)-0.6666666666666666)/0.16666666666666663,0)*CIEc($T),~mtf((1+0-CIEh($T))/0.16666666666666674,0)*CIEc($T))))

This started happening after the latest PixelMath update (1/23 my time)
Not sure what has happened!

Andy
 
hopefully rick can take a look at this but maybe @Juan Conejero can comment if old pixelmath syntax in a script should still work or if it needs to be updated for the new PI module.
 
This bug is now fixed in version 1.8.1 of PixelMath, which I have just released as an update. Sorry for the inconvenience.
This report is duplicate of:

Of course, the ColorMask script does not need any update. It works perfectly now.

This was just a stupid mistake I made yesterday. A small change in the PixelMath tokenizer to optimize it, which I didn't test sufficiently. This is what happens when one works too tired and under pressure. Let's see if I can rest a bit today.
 
Back
Top