How can I Output a pixle value from a jit.lcd

Andrew Chanover's icon

Hello I am trying to use the LCD object to make a graphical interface and I need it to report out the white and black values of a where I am drawing it only outputs 255 (white) even if there is black that is drawn.

spectraldraw.maxpat
Max Patch

TFL's icon

You're looking at the values in plane 0 only, which is the alpha channel (ARGB), which is always at its maximum value in your case. Your color is encoded in planes 1, 2 and 3 (R, G and B respectively). Send a "plane -1" to your [jit.cellblock] to see all planes at the same time (or "plane 2" if you just want to see the G channel for example).