hey_mr_art

hey_mr_art

  • NA
  • 17
  • 0

Convert an image to bmp file

Dec 22 2004 6:17 AM
Good day, I have a code that runs well using windows forms. This is the code: >>System.Drawing.Image imgSource = System.Drawing.Image.FromFile("c:\\test.gif"); >>imgSource.Save("c:\\test.bmp", System.Drawing.Imaging.ImageFormat.Bmp); But when I tried this on webforms, this error occured: "A generic error occurred in GDI+." How come? Arthur

Answers (2)