I'm trying to figure out how to read and set the RGB values of the pixels in the images that videocontrol.getSnapshot returns. I get exceptions if I say
byte pngImage = videoControl.getSnapshot("encoding=rgb888");
...is it possible to capture raw rgb into a byte array and examine and change those values before returning them to the display? or is this impossible in java?
Any help hugely appreciated.
MA IDM, www.ma.rave.ac.uk