View Full Version : png files byte array as a web image on a web page

06-27-2007, 07:12 PM
I am trying to create a web service in vs2005 that serves an image (which started as a byte array and was converted to a base64binary). I then want to have a client aspx page that displays that in an image control as a png file. I believe i know how to do this with a System.Drawing.Image object but with System.web.ui.controls.image (or whatever that path is), i can't make it work.

If possible i'd rather not stream it directly to the response object but if thats the only way can you show me how i would stream it into a frame rather then the main document.

Thank you.