A small command line application to capture one frame from a webcam and save it into a .bmp file.
This is based on the microsoft win7 media foundation sample MFCaptureD3D, modified to extract a single image and save into a bitmap. Filename is sample.bmp, if the bitmap already exists the filename will contain in incrementing number starting at sample0.bmp.