Click to See Complete Forum and Search --> : Saving images from camera feed to disk


kalhan
October 16th, 2004, 06:50 PM
Hi,
I am working on an application that captures images from a camera (frame by frame ofcourse) then displays the frames in sequence on the screen.

I have to dump these frames (or some at least) to disk.

How do I save frames to disk, using any image format.
You may also send response by e-mail.
Thanks in advance

NoHero
October 16th, 2004, 07:34 PM
You should take a look at the "Image" class of GDI+:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/GDIPlus/GDIPlusreference/classes/image.asp
This has a member that can save an image to disk

List of all GDI+ classes:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/GDIPlus/GDIPlusreference/classes.asp