Alex Rivera | Logout

png to bmp in C#

Asked 2009-06-29T20:44:44.053
23

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 the downloading bit and the background bit done.

I just need to convert the png to a bmp.

Edit
Report

1 Answer

32
Image Dummy = Image.FromFile("image.png");
Dummy.Save("image.bmp", ImageFormat.Bmp);
answered 2009-06-29T20:47:16.780

Your Answer