A newer version of Max is available. Click here to access the latest version of this document.

jit.pack

Make a multiplane matrix out of single plane matrices

Description

The jit.pack object merges N single plane matrices to make a single N plane matrix.

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

Information for Jitter Matrix Operator (MOP) messages and attributes to this object

Arguments

Name Type Opt Description
int The number of planes in the input matrix and the number of single plane matrix inlets for the jit.unpack object (default = 4).

Attributes

Name Type g/s Description
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 int Number of planes to grab from input matrix (default = all ones)
offset int 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.

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.coerce Coerce a matrix into different types/planecount
jit.concat Concatenate two matrices
jit.split Split a matrix into two matrices
jit.unpack Make multiple single plane matrices out of a multiplane matrix
Tutorial 5: ARGB Color Tutorial 5: ARGB Color