invert the colours

bdhm's icon

hello, I did this already but I forgot how: invert the colours of live video.
thanks for any tip,
bd

Bas van der Graaff's icon

jit.op @op !- @val 1.

Andrew Benson's icon

or jit.op @op ~
or jit.scalebias @scale -1. @bias 1.
or jit.brcosa @contrast -1.
or...
The one you choose will depend on the rest of your patch and how you want to control it.

AB

bdhm's icon

hurray! jit.op was missing.

great forum° thanks,
bd