Is there a way to take a photo (still image) using DirectShow or Media Foundation API?
I got a video capture, and I can just capture the very first frame and call it day, but that’s not what the photo shows. Typically, cameras have different video and photo modes, where the photo mode can significantly increase the resolution.
For example, I have a Logitech HD Pro Webcam C920, and it claims to allow 15mp snapshots. The software attached to it takes 5168x2907 photos. So far I have not seen any photo mode in DirectShow or Media Foundation, and the highest resolution I can take with this webcam in video mode using DirectShow or Media Foundation is 2304x1536 with 2 FPS in RGB24 or I420.
source
share