png to bmp in C#

后端 未结 3 1154
旧时难觅i
旧时难觅i 2020-12-07 00:18

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

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

I have th

3条回答
  •  清歌不尽
    2020-12-07 01:01

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

提交回复
热议问题