png到C#中的bmp [英] png to bmp in C#
本文介绍了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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文