Video Acquisition: Saving a sequence of single images

The following programming example shows how you can use IC Imaging Control to Save single images of an image data stream as BMP files (consecutively numbered image sequence).
Language:Visual Basic 6
Version:3.0.3
Released on:April 7, 2005
Author:IC Imaging Control Support Department
Requirements:IC Imaging Control >2.1
Camera, converter or grabber with WDM Stream Class drivers.

The following program shows how you can use IC Imaging Control to list all codecs that are installed on your system.

The sample application's window looks as follows:

The Testdialog of IC Imaging Control,

The program is based on the collection .AviCompressors. .AviCompressors.Count indicates the number of codecs found, while .AviCompressors(i) returns information about the i'th codec (as for instance its name):

Private Sub Form_Load()

    For i = 1 To ICImagingControl1.AviCompressors.Count

        lstCodecs.AddItem ICImagingControl1.AviCompressors(i).Name

    Next i
End Sub

Related Source Code Samples

Disclaimer
The source code that appears in the IC Imaging Control Source Code Library is indented for educational purposes only. The Imaging Source Europe GmbH, the manufacturer of IC Imaging Control, does not assume any kind of warranty expressed or implied, resulting from the use of the content of this page.

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, LiveDocx, phpLiveDocx and Forums.