I have monochrome image in 12 bit raw data. It's actually video being
sent over a stream.
Can anybody give me a hint on how I display the image on a canvas. I
converted the bits to a short, but now since it's not RGB format, it's
just grayscale, I'm not sure where to go to display the data as an
image.
It's for an application that will have a pop-up frame to display the
images.
Thanks
Abs
Roedy Green - 14 Dec 2005 23:41 GMT
>I have monochrome image in 12 bit raw data. It's actually video being
>sent over a stream.
Look at the BufferedImage class and TYPE_USHORT_GRAY
Also look at http://mindprod.com/jgloss/jmf.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.