Forums > Java

Grayscale BufferedImage and jit.matrix

July 15, 2006 | 11:31 pm

It seems I can instantiate a jit.matrix with a grayscale BufferedImage
(BufferedImage.TYPE_BYTE_GRAY) with

JitterMatrix jim = new JitterMatrix(myGrayBufferedImage);

but I have to pass the matrix out to a jit.matrix 4 char.

At least, I have had no success sending the image to a jit.matrix 1
char–all I get is a white image.

OTOH, I can send the image directly to a jit.pwindow.

I had thought to generate alpha channel planes with Java, this seems
to make things a little trickier.

Can someone confirm that this observation is the case?

– Paul


—– |(*,+,#,=)(#,=,*,+)(=,#,+,*)(+,*,=,#)| —–


Viewing 1 post (of 1 total)