本文介绍了从网络摄像头捕获图像并保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C#WinForm中如何从网络摄像头保存捕获的图像?..我有以下代码..

In C# WinForm how to save a captured image from a webcam?..i have a code below..

string strGrabFileName = String.Format("C:\\Snapshot.jpg", DateTime.Now);
bitmap.Save(strGrabFileName, System.Drawing.Imaging.ImageFormat.Jpeg);



当我点击捕获按钮时它显示最后一个错误line..anyone帮我解决..


when i click on the capture button it shows an error on the last line..anyone help me to solve it..

推荐答案


这篇关于从网络摄像头捕获图像并保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-04 22:53