Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capFileSaveDIB and capEditCopy

Status
Not open for further replies.

safra

Technical User
Jan 24, 2001
319
NL
Hi,

I am new to c++ builder. I like it a lot as I slowly get some grip on it.

I am trying to learn by creating a video app that captures bitmaps at certain time intervals and saves them as jpeg's.

At the moment I am at the stage where I managed to get the video pic running and a button on the form that captures the current frame and saves it as a bitmap.

capFileSaveDIB is used for this. Now comes the part where the bitmap has to be converted to a jpeg. What is the best way to go (most efficient less CPU intensive as finally I hope to get it working in a way that it is constantly updating the jpeg)? use the structure I have now with the saved bitmap or instead use capEditCopy and save the currentframe to the clipboard and continue from there?

And anyone knows a good source that explains the process of converting a bmp to a jpg?

Thanks,

Ron


 
Hello, I don't know how help to you
But you can help me, because I'm trying to capture
a frame from my webcam but it doesn't work
How do you do it?

Please, if you can help me
Thanks

My code is
Dim sfile As String
sfile = "c:\temp1"
capFileSaveDIB lwndC, StrPtr(sfile)

Thanks
Jordi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top