You can turn an image into a binary stream with code like this:
Dim ms As New System.IO.MemoryStream()
MyImage.Save(ms, Drawing.Imaging.ImageFormat.Jpeg)
But I don't know what you expect the browser to do with this.
What are you trying to accomplish?
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at
http://www.able-consulting.com
"Lucas Cowald" <no****@nospamthanks.com> wrote in message
news:nN********************@comcast.com...
Hi,
Using ASP and VBScript. How to convert JPEG image into a binary data? Is
it possible with a command from ASP / VBScript without having to put it into
a database first?
I want to take the JPEG image from a folder, convert it into a binary
data, and stream it to the browser. How can I do it? Can you show a short code?
Thank you for your help.