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

jit.unpack Reference

Make multiple single plane matrices out of a multiplane matrix

jit.unpack

Description

The jit.unpack object splits one N-plane matrix into N single-plane matrices. This is useful for splitting one ARGB matrix into separate alpha, red, green, and blue matrices, and similar types of splitting.

Examples

Arguments

planecount [int]

The number of planes in the input matrix and the number of single plane matrix outlets for the jit.unpack object (default = 4).

Matrix Operator

matrix inputs:1, matrix outputs:-1
Name IOProc Planelink Typelink Dimlink Plane Dim Type

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

jump [32 ints]

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

offset [32 ints]

Offset into input matrix (default = 0 1 2 ... 31)

Common Box Attributes

Messages

anything

The anything message forwards any MOP Attribute messages to the underlying outputs -- e.g. out1_dim, out1_name, out1_planecount, out1_type.

See Also

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