• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Redrawing a portion of a surfaceView

ophanin

Newbie
Hi all!

Is there an easy way to redraw a portion of surfaceview elsewhere on the view (or on another layer?) For example, taking and redrawing a face elsewhere in the frame of a camera preview.

I was thinking of doing it by extracting a bitmap from the preview, and then redrawing that part as I wanted, but I figure that would be quite intensive for resources. So, if I can redraw a portion of the surfaceview elsewhere based on an x/y coordinate, I think that would be ideal.

Any ideas?
 
Bump!

Anyone have any idea? I can't really find a good way to complete this (other grabbing my frame, converting it to RGB, and then redrawing a portion of that on a layer atop the surfaceview). I figure there must be a better way.
 
Back
Top Bottom