The Still Capture Library is a set of functions that allows C/C++ developers to add still capture from webcams, DV camcorders and other cameras to their applications in just a few lines of code. The library is based on the DirectShow API but all the complexity is invisible to the developer.
The Still Capture library is composed of the include file (scapi.h), the library files (scapi32.lib and scapi64.lib) to link to your modules, the redistributable library (scapi32.dll and scapi64.dll), the sample source codes in C++, binaries and some test applications.
Even though the library is very small, it features all the functions needed to get the most out of the available webcam(s):
- initialization and cleanup.
- device enumeration.
- device resolution enumeration.
- device capability retrieval.
- device property control (UVC, camera control and VideoProcAmp).
- live video preview management (position, visibility, pause).
- video input management (crossbar).
- still capture using software and/or hardware trigger.
- copy a still to the clipboard or save it to a file.
- get the handle (HBITMAP) of a still.
- get a still as a packed DIB.
- get possible error messages.
- plug-ang-play notification handling.
- crossbar input selection.
The library also includes stillcap.exe, a console application that allows you to easily make still captures from a script, an application, a command prompt, the Task Scheduler, etc.
















