jit.brass Emboss image

The jit.brass object does a quick and dirty embossing effect on an 4-plane char input matrix. You can specify the amount and direction of the emboss effect and apply an overall tint to the output matrix.

Matrix Operator: in[1] out[1]
Name IOProc Planelink Typelink Dimlink Plane Dim Type
in n/a n/a n/a n/a n/a n/a n/a
out n/a yes yes yes 4 all char

Attributes:
Name Type Description
atint float The amount of tinting to apply to the alpha channel (plane 0) (default = 0.)
rtint float The amount of tinting to apply to the red channel (plane 1) (default = 0.)
gtint float The amount of tinting to apply to the green channel (plane 2) (default = 0.)
btint float The amount of tinting to apply to the blue channel (plane 3) (default = 0.)
mask int list[4] The overall embossing mask (default = 0 0 0 0)
The numbers in the list control the embossing amount for the four axes around each cell in the form upperleft-to-lowerright top-to-bottom upperright-to-lowerleft across-the-middle. Negative values will invert the direction of the effect.

Example:

See Also:
jit.convolve, jit.op, jit.qt.effect