XML Feeds

.

[jitter] inverted color

Joshua Kit Clayton jkc at musork.com
Wed Feb 20 12:19:35 MST 2008


On Feb 20, 2008, at 9:42 AM, vade wrote:

> you can invert a channel by using jit.unpack to get the channel you  
> want
> do the inversion with
>
> jit.op @op - @val 255
>
> (assuming a char matrix)
> or @op - @val 1.0

Btw, I think you mean @op !- which is right input (or val) minus left  
input

For char matrix there's also the unary @op ~ operator.

-Joshua


More information about the jitter mailing list