Skip to content

To retrieve a pixel value

How to retrieve a pixel value It is possible to retrieve the RGB value of a pixel at the (x, y) location in the video frame by invoking GetRgBPixelAt from the OnFrameOverlayUsingDC event.

Note: the video size is returned by the VideoWidth and VideoHeight functions.