jit.pack Reference

Make a multiplane matrix out of single plane matrices

jit.pack

Description

The jit.pack object merges N single-plane matrices to make one N-plane matrix. This is useful for combining separate alpha, red, green, and blue matrices to make one ARGB matrix, and similar types of merging.

Examples

Arguments

planecount [int]

The number of planes in the input matrix and the number of single plane matrix inlets for the jit.unpack object.

Matrix Operator

matrix inputs:-1, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
out n/a 0 1 1 1 1 char long float32 float64

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

index [int]

Alias to the plane attribute for backwards compatibility. This attribute is only useful from Javascript or Java, the Max object inlet sets this attribute automatically.

jump [32 ints]

Number of planes to grab from input matrix (default = all ones)

offset [32 ints]

Plane offset into input matrix (default = all zero)

plane [int]

Output matrix plane to which input is written. This attribute is only useful from Javascript or Java, since the Max object inlet sets this attribute automatically.

Common Box Attributes

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.coerce
jit.concat
jit.split
jit.unpack
Tutorial 5: ARGB Color Tutorial 5: ARGB Color