Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, October 2, 2009 4:40:45 AM(UTC)

Morten  
Morten

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
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, October 4, 2009 5:03:19 AM(UTC)

Basel  
Guest

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.
 
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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.051 seconds.