Dear Friend,
You can try this code:-
Image image = Image.FromFile( @"c:\image.bmp" );
using(MemoryStream stream = new MemoryStream())
{
image.Save( stream, ImageFormat.Bmp );
}
Hope this helps you out. From here you can output the image stream the same way you did for Text stream.
Please don't forget to mark this as your answer if it helps you out.
Any query is always welcome.
Regards
Varun Sareen