Here is another, for performace issue to creating Bitmap everytime..
I'm using both method for conditionally.
here:
================================
(A creating Image object)
ImageOutput = Image.FromFile(ImagePath)
ResponseOutput.ContentType = "image/jpeg"
ImageOutput.Save(ResponseOutput.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg)
(B, if getting image from file) --> preferred method as saving A Image Object ^^
ResponseOutput.ContentType = "image/gif"
ResponseOutput.WriteFile(yourImageFileFullPath)
================================
http://www.busyphoto.com
http://mobile.busyphoto.com