PDA

View Full Version : MemorySaveImageSequence during the capture sesion



Alberto
March 16, 2005, 19:23:58
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 (*.bmp)|*.bmp|"
.CancelError = True
.ShowSave
ic.NumberOfImages, _
Left$(.FileName, Len(.FileName) - 4) & _
"*" & _
Right$(.FileName, 4)
End With
Exit Sub
err_SaveImageSequence:
If Err <> cdlCancel Then MsgBox Err.Description
End Sub

Alberto
March 16, 2005, 19:27:15
Sorry for the last post, i ( i click i submit reply by error)

I need use the MemorySaveImageSequence durring the capture process, without cut my avi file creation.

??????? help :)

Stefan Geissler
March 17, 2005, 07:56:40
Alberto,

this is not possible with the 2.1 version of IC. You can either capture an AVI file or snap images into files.

Working with C++ and the classlibrary, there would be a solution:
If you want perform both, you must add a listener to your project, that sends the incoming frames into an AVI file and allows to save the incoming frames into single files too. At http://www-codeguru.com i found a class, that is able to create AVI files from single bitmaps. This would help you. It works only with Video for Windows, so only Video for Windows codecs are supported (Lead or DivX).

With Visual Basic and the ActiveX, i have no solution. Sorry.

Alberto
March 17, 2005, 09:50:19
When will be ready the 2.1 version??

And can you let me a brief for the improves in this new version?

Thanks and best regards.

Stefan Geissler
March 17, 2005, 09:57:14
Alberto,

As far as i know, this will be possible with 3.0. Version 2.1 is already available. It has only some bug fixes and hardware support more than 2.0