I’m trying to look at real time images coming in from the webcam and look at the pixel. Is there anyway to convert a canvas to an RGBSurface?
Yes, you could for example use a AVCaptureStillImageOutputMBS to get images.
see the Still Photos example project
Christian, Thanks for the follow up. I’ve looked through that example in your plugin package and still having trouble figuring out how to get an RGBSurface to play with.
at some point you should get a picture.
or the JPEGData and use JPEGStringToPictureMBS.
once you have picture, you can access RGBSurface object.
You are right sir! Thanks!