Invert matrix jitter

staxas's icon

Probably a real easy solution for this one:

How do I invert a 1-plane black and white char matrix? I want to make the black white and the other way around.

Luke Woodbury's icon

Try this: [jit.rgb2luma @ascale 3 @rscale -1 @gscale -1 @bscale -1]

Works for me!

staxas's icon

Oops, jit.brcosa of course, never mind....

Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.

jit.op @op == @val 0