图片与BASE64字符串互转,生成HTML,带源码

上传者: varlj | 上传时间: 2023-01-11 14:50:59 | 文件大小: 49KB | 文件类型: ZIP
以前写过一个很简单的,最近要用到,稍微加强了一下,一般图片转BASE64就用在网页的img标签中,所以特别为些做了些方便的小优化。 增加了可以从BASE64直接转化为图片的功能。 源码基于.NET 2.0,使用VS 2012编写

文件下载

资源详情

[{"title":"( 30 个子文件 49KB ) 图片与BASE64字符串互转,生成HTML,带源码","children":[{"title":"Base64Image","children":[{"title":"说明.txt <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"Base64Image","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Release","children":[{"title":"Base64Image.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Base64Image.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"Base64Image.csproj.FileListAbsolute.txt <span style='color:#111;'> 793B </span>","children":null,"spread":false},{"title":"Base64Image.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Base64Image.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Base64Image.exe <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"Base64Image.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Base64Image.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"Base64Image.csproj.FileListAbsolute.txt <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"Base64Image.pdb <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Base64Image.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Base64Image.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Base64Image.exe <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 789B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Base64Image.csproj <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Base64Image.v11.suo <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false},{"title":"Base64Image程序.exe <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"Base64Image.sln <span style='color:#111;'> 923B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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