LEADTOOLS Support
Multimedia
Multimedia SDK Questions
Calling StartCapture well in advance of SaveStillBitmap
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, October 2, 2009 4:40:45 AM(UTC)
Groups: Registered
Posts: 1
Hi,
I am developing an application that (among other things) takes still images from a webcam and saves it to a file, and I use Mulitmedia 15 for this.
What Im wondering is, is there any reason why I can’t call Startcapture(ltmmCapture_Mode_Still) once at the start of the application, and then simply call SaveStillBitmap(bstr, format, quality, 0, 5000) each time I want to take a still image?
I have tested it, and it seems to work fine and I can’t find anything to suggest this is a bad idea in the documentation. But Im curious if there is some deeper reason why I shouldn’t do this.
Thanks,
Morten
#2
Posted
:
Sunday, October 4, 2009 5:03:19 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Morten,
I think you can do that. What happens internally when you do it like this is that the internal DirectShow filter graph will be created at the beginning and all filters will remain connected throughout. If this approach doesn't cause problems at your side, go ahead and use it.
LEADTOOLS Support
Multimedia
Multimedia SDK Questions
Calling StartCapture well in advance of SaveStillBitmap
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.