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

jit.roy Reference

Convert image to halftone image



jit.roy is a halftone screen emulator. It takes an input matrix and splits it into a grid. Each element in the grid is then replaced by regions of a second matrix based on the mean value of each slot in the grid.



The second matrix (which defines the halftone screen) is a series of submatrices set next to one another along a horizontal axis. These matrices replace regions of the first matrix in ascending order.

Matrix Operator

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

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages


shades [int]

The number of shades present in the halftone matrix (i.e. the number of regions to split the matrix into as individual halftone images) (default = 11)

x [int]

The width of each halftone screen (default = 8)

y [int]

The height of each halftone screen (default = 8)

Common Box Attributes

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter