View Full Version : Snapping images

September 28, 2008, 23:21:48
I want at exact moments to snap image and process it; for example when user clicks a button
I started modifying project that wizard creates (that inverts the image) and I changed

setSnapMode ( true )
and I try calling snapImages function from the button but nothing happens, no image is displayed
Where am I wrong?

Stefan Geissler
September 29, 2008, 09:34:49

The created project that inverts the images displays the snapped image.

I think, you kept the CListener object attached to the grabber object.
I think, you set the m_pSink->snapmode to "true"

Then the CListener::frameReady should be called, if you have called m_pSink->snapImages().

September 29, 2008, 10:08:54
Thanks! It works now!

Stefan Geissler
September 29, 2008, 10:20:56
Thank you for the feedback!