png到C#中的bmp

编程入门 行业动态 更新时间:2024-10-27 15:22:41
本文介绍了png到C#中的bmp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

反正我可以在C#中将png转换为bmp吗?

is there anyway that I can convert a png to a bmp in C#?

我要下载图像,然后将其转换为bmp,然后将其设置为桌面背景.

I want to download a image then convert it to a bmp then set it as the desktop background.

我已经完成了下载位和背景位.

I have the downloading bit and the background bit done.

我只需要将png转换为bmp.

I just need to convert the png to a bmp.

推荐答案

Image Dummy = Image.FromFile("image.png"); Dummy.Save("image.bmp", ImageFormat.Bmp);

更多推荐

png到C#中的bmp

本文发布于:2023-07-26 19:08:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1217930.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:png   bmp

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!