ICImagingControl.MemorySaveImageSequence Method |
||||||||||||||||||
This method saves a sequence of images as a sequence of single .png files. | ||||||||||||||||||
Syntax: |
Public Sub MemorySaveImageSequence(SequenceLength As Long, Filename As String) |
|||||||||||||||||
|
||||||||||||||||||
Sample: |
This example will capture a sequence of 25 images to memory, and then save the images to 25 individual files. A "*" character is added to the filename to enable Imaging Control to insert a frame number: Sub SaveImageSequence(ic As ICImagingControl, cmdlg As CommonDialog) On Error GoTo err_SaveImageSequence Const NumberOfImages = 25 ic.ImageRingBufferSize = NumberOfImages ic.MemorySnapImageSequence NumberOfImages With cmdlg .Filter = "Bitmap (*.png)|*.png|" .CancelError = True .ShowSave ic.MemorySaveImageSequence NumberOfImages, _ Left$(.FileName, Len(.FileName) - 4) & _ "*" & _ Right$(.FileName, 4) End With Exit Sub err_SaveImageSequence: If Err <> cdlCancel Then MsgBox Err.Description End Sub |
|||||||||||||||||
See also: | ICImagingControl, ICImagingControl.MemorySnapImageSequence, ICImagingControl.ImageRingBufferSize |
⋯
⋯ ⋯
Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.
Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.