Which process is managing the image processing module? I'm assuming it's the browser so you'll need a mechanism for the browser process to be notified when the web content updates and a new snapshot is available.
By default the browser doesn't receive such notifications, frames go directly from the renderer to Viz/GPU and then the display. You'd need to attach a listener to a FrameSink whose frames you want to capture. The sink could be 1:1 with the web content for a particular tab, a browser window or the whole display (in the case of CrOS). The closest use-case to this is
FrameSinkVideoCapturer. It's worth looking through the source code for how it's used.
cc-ing some GPU folks who might have additional pointers.