Silverlight 截取摄像头视频截图并通过Base64String上传到数据库的例子

上传者: soft2buy | 上传时间: 2019-12-21 21:08:52 | 文件大小: 199KB | 文件类型: zip
用Silverlight截取摄像头视频截图并不是什么难事。本文的范例代码详细介绍了视频截取和两种保存截图的方式: 1.使用开源的FJCore.dll 把视频流转换成Jpeg 格式,保存到本地 2.选择使用把图片转换成Base64String,使用WCF,保存在Sqlserver数据库中。使用Base64String的方法,在数据库表里建一个varchar的字段就可以保存图片数据了。 3. 通过把图片流转换成Base64String保存到服务器数据库:

文件下载

资源详情

[{"title":"( 31 个子文件 199KB ) Silverlight 截取摄像头视频截图并通过Base64String上传到数据库的例子","children":[{"title":"Dengfengsoft_SilverlightWebCamExample","children":[{"title":"Dengfengsoft_SilverlightWebCamExample","children":[{"title":"MainPage.xaml <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"JpegEncoder","children":[{"title":"FJ.Core.dll <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"FJ.Core.pdb <span style='color:#111;'> 127.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"App.g.i.cs <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"MainPage.g.i.cs <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.dll <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.g.resources <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 7.82KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"MainPage.g.cs <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"XapCacheFile.xml <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"MainPage.xaml.cs <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.csproj <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"Bin","children":[{"title":"Debug","children":[{"title":"Dengfengsoft_SilverlightWebCamExample.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.dll <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"FJ.Core.dll <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"FJ.Core.pdb <span style='color:#111;'> 127.50KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.xap <span style='color:#111;'> 30.87KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExampleTestPage.html <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"AppManifest.xaml <span style='color:#111;'> 517B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Dengfengsoft_SilverlightWebCamExample.csproj.user <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"Base64Convert.cs <span style='color:#111;'> 911B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AppManifest.xml <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.suo <span style='color:#111;'> 26.50KB </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.sln <span style='color:#111;'> 1001B </span>","children":null,"spread":false},{"title":"Dengfengsoft_SilverlightWebCamExample.Web","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • miaoss6 :
    不错,直接可以使用
    2019-02-01
  • weixin_39556337 :
    不错,还可以的。
    2018-04-07
  • sbtatei :
    很有借鉴意义
    2016-12-19

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明