C#批量转换图片格式,BMP/JPG/PNG/GIF转换

上传者: 38638799 | 上传时间: 2022-05-19 19:57:21 | 文件大小: 36KB | 文件类型: RAR
摘要:C#源码,图形图像,批量图片格式转换  C#批量转换图片格式,支持的图片格式为:BMP/JPG/PNG/GIF,为了使大批量的图像格式转换变的简单,因此开发出批量图像格式转换工具,图像格式转换主要通过Bitmap类的Save方法实现,将Image以指定的格式保存到指定文件,下面代码主要是创建了一个用于进行图像格式转换的ConvertImage方法。然后通过switch语句判断转换的格式再通过Bitmap类的Save 方法进行转换。

文件下载

资源详情

[{"title":"( 21 个子文件 36KB ) C#批量转换图片格式,BMP/JPG/PNG/GIF转换","children":[{"title":"okbase.net","children":[{"title":"PictureBatchConversion","children":[{"title":"PictureBatchConversion.sln <span style='color:#111;'> 956B </span>","children":null,"spread":false},{"title":"PictureBatchConversion","children":[{"title":"PictureBatchConversion.csproj <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 14.32KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"保存11.ico <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"图标 (163).png <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"图标 (28).png <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"保存1.ico <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"图标 (23).ico <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"图标 (29).ico <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false},{"title":"打开.ico <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"Resources.bmp <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"打开1.ico <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 12.99KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 13.94KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"PictureBatchConversion.suo <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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