基于MVC的HTML5+Canvas手机拍照上传

上传者: daidezong | 上传时间: 2019-12-21 19:37:45 | 文件大小: 2.54MB | 文件类型: zip
通过HTML5的video开启手机拍照,拍照时需要手机确认开启摄像权限。然后再通过canvas捕获视频流保存为图片base64字符,最后将图片流传递到服务端进行保存。

文件下载

资源详情

[{"title":"( 90 个子文件 2.54MB ) 基于MVC的HTML5+Canvas手机拍照上传","children":[{"title":"MvcPhotograph","children":[{"title":"MvcPhotograph","children":[{"title":"Global.asax.cs <span style='color:#111;'> 818B </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"Controllers","children":[{"title":"HomeController.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"MvcPhotograph.csproj.user <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"Scripts","children":[{"title":"jquery.validate.unobtrusive.min.js <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"jquery-1.8.2.intellisense.js <span style='color:#111;'> 148.16KB </span>","children":null,"spread":false},{"title":"modernizr-2.6.2.js <span style='color:#111;'> 48.97KB </span>","children":null,"spread":false},{"title":"_references.js <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"jquery.validate.unobtrusive.js <span style='color:#111;'> 15.88KB </span>","children":null,"spread":false},{"title":"jquery-1.8.2.js <span style='color:#111;'> 260.63KB </span>","children":null,"spread":false},{"title":"jquery.validate.js <span style='color:#111;'> 38.21KB </span>","children":null,"spread":false},{"title":"jquery-1.8.2.min.js <span style='color:#111;'> 91.25KB </span>","children":null,"spread":false},{"title":"knockout-2.2.0.js <span style='color:#111;'> 39.91KB </span>","children":null,"spread":false},{"title":"jquery-ui-1.8.24.js <span style='color:#111;'> 357.08KB </span>","children":null,"spread":false},{"title":"jquery-ui-1.8.24.min.js <span style='color:#111;'> 196.01KB </span>","children":null,"spread":false},{"title":"jquery.validate.min.js <span style='color:#111;'> 20.98KB </span>","children":null,"spread":false},{"title":"jquery.unobtrusive-ajax.min.js <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"jquery.validate-vsdoc.js <span style='color:#111;'> 42.89KB </span>","children":null,"spread":false},{"title":"jquery.unobtrusive-ajax.js <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"knockout-2.2.0.debug.js <span style='color:#111;'> 173.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"Models","children":[{"title":"Photo.cs <span style='color:#111;'> 480B </span>","children":null,"spread":false}],"spread":true},{"title":"photo","children":[{"title":"tem","children":[{"title":"20150325173647..jpg <span style='color:#111;'> 19.89KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"Global.asax <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"Web.Debug.config <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"MvcPhotograph.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"MvcPhotograph.csprojResolveAssemblyReference.cache <span style='color:#111;'> 121.60KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 11.18KB </span>","children":null,"spread":false},{"title":"MvcPhotograph.csproj.FileListAbsolute.txt <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"MvcPhotograph.dll <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 105.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App_Data","children":null,"spread":false},{"title":"Content","children":[{"title":"Site.css <span style='color:#111;'> 1024B </span>","children":null,"spread":false}],"spread":false},{"title":"bin","children":[{"title":"System.Web.Razor.xml <span style='color:#111;'> 356.60KB </span>","children":null,"spread":false},{"title":"EntityFramework.dll <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false},{"title":"MvcPhotograph.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"System.Web.Razor.dll <span style='color:#111;'> 260.63KB </span>","children":null,"spread":false},{"title":"System.Web.Http.WebHost.xml <span style='color:#111;'> 9.83KB </span>","children":null,"spread":false},{"title":"WebGrease.dll <span style='color:#111;'> 1.01MB </span>","children":null,"spread":false},{"title":"Antlr3.Runtime.dll <span style='color:#111;'> 103.07KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.Razor.dll <span style='color:#111;'> 38.61KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.xml <span style='color:#111;'> 218.07KB </span>","children":null,"spread":false},{"title":"System.Web.Http.dll <span style='color:#111;'> 315.59KB </span>","children":null,"spread":false},{"title":"zh-Hans","children":[{"title":"System.Web.Mvc.resources.dll <span style='color:#111;'> 28.09KB </span>","children":null,"spread":false},{"title":"System.Net.Http.Formatting.resources.dll <span style='color:#111;'> 19.59KB </span>","children":null,"spread":false},{"title":"System.Net.Http.resources.dll <span style='color:#111;'> 17.09KB </span>","children":null,"spread":false},{"title":"System.Web.Providers.resources.dll <span style='color:#111;'> 15.59KB </span>","children":null,"spread":false},{"title":"System.Web.Http.resources.dll <span style='color:#111;'> 25.57KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.resources.dll <span style='color:#111;'> 19.59KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.Deployment.resources.dll <span style='color:#111;'> 12.61KB </span>","children":null,"spread":false},{"title":"System.Web.Razor.resources.dll <span style='color:#111;'> 24.11KB </span>","children":null,"spread":false},{"title":"System.Net.Http.WebRequest.resources.dll <span style='color:#111;'> 10.09KB </span>","children":null,"spread":false},{"title":"EntityFramework.resources.dll <span style='color:#111;'> 69.59KB </span>","children":null,"spread":false},{"title":"System.Web.Http.WebHost.resources.dll <span style='color:#111;'> 11.59KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.Razor.resources.dll <span style='color:#111;'> 11.11KB </span>","children":null,"spread":false},{"title":"System.Web.Optimization.resources.dll <span style='color:#111;'> 11.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"System.Web.Mvc.xml <span style='color:#111;'> 828.00KB </span>","children":null,"spread":false},{"title":"Microsoft.Web.Mvc.FixedDisplayModes.dll <span style='color:#111;'> 23.09KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 429.90KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.dll <span style='color:#111;'> 199.61KB </span>","children":null,"spread":false},{"title":"System.Net.Http.WebRequest.xml <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false},{"title":"System.Web.Optimization.dll <span style='color:#111;'> 53.63KB </span>","children":null,"spread":false},{"title":"System.Web.Mvc.dll <span style='color:#111;'> 495.09KB </span>","children":null,"spread":false},{"title":"System.Net.Http.xml <span style='color:#111;'> 197.09KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 382.50KB </span>","children":null,"spread":false},{"title":"EntityFramework.xml <span style='color:#111;'> 1.09MB </span>","children":null,"spread":false},{"title":"System.Net.Http.Formatting.xml <span style='color:#111;'> 134.64KB </span>","children":null,"spread":false},{"title":"MvcPhotograph.dll <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.Razor.xml <span style='color:#111;'> 17.36KB </span>","children":null,"spread":false},{"title":"System.Web.Http.xml <span style='color:#111;'> 370.67KB </span>","children":null,"spread":false},{"title":"Microsoft.Web.Infrastructure.dll <span style='color:#111;'> 44.35KB </span>","children":null,"spread":false},{"title":"System.Net.Http.dll <span style='color:#111;'> 176.59KB </span>","children":null,"spread":false},{"title":"System.Net.Http.WebRequest.dll <span style='color:#111;'> 16.09KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.Deployment.xml <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"System.Net.Http.Formatting.dll <span style='color:#111;'> 164.59KB </span>","children":null,"spread":false},{"title":"System.Web.Http.WebHost.dll <span style='color:#111;'> 71.59KB </span>","children":null,"spread":false},{"title":"System.Web.Providers.dll <span style='color:#111;'> 264.59KB </span>","children":null,"spread":false},{"title":"System.Web.WebPages.Deployment.dll <span style='color:#111;'> 40.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"Web.config <span style='color:#111;'> 6.28KB </span>","children":null,"spread":false},{"title":"App_Start","children":[{"title":"WebApiConfig.cs <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"BundleConfig.cs <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"RouteConfig.cs <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"FilterConfig.cs <span style='color:#111;'> 279B </span>","children":null,"spread":false}],"spread":false},{"title":"Views","children":[{"title":"_ViewStart.cshtml <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"Shared","children":[{"title":"_Layout.cshtml <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"Error.cshtml <span style='color:#111;'> 360B </span>","children":null,"spread":false}],"spread":false},{"title":"Home","children":[{"title":"Index.cshtml <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false}],"spread":false},{"title":"Web.config <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"MvcPhotograph.csproj <span style='color:#111;'> 11.48KB </span>","children":null,"spread":false}],"spread":false},{"title":"MvcPhotograph.sln <span style='color:#111;'> 1006B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 商褀 :
    手机运行错误提示:parameter is not valid
    2018-11-02
  • ydlzcxf :
    不是太兼容,能运行,但是不知所云。
    2018-10-06
  • gjw_163 :
    .net的源码。
    2018-05-21

免责申明

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