K
klj_mcsd
Currently this is what I'm doing and it takes about 30 - 60 seconds for
88 kb file to show in my web browser from my web service. I think that
is too long when you webservive is on a network server. Can someone
look at this please. Thanks
bImage = New Bitmap("c:\images\" & arrImages(ImageNo).ToString)
'Save as PNG file
bImage.Save(bFile, System.Drawing.Imaging.ImageFormat.Png)
'Return Binary file
Return bFile.GetBuffer()
When I get is from the web service I just display it using
Response.ContentType = "image/png"
ms = New MemoryStream(x)
Response.OutputStream.Write(x, 0, Convert.ToInt32
(ms.Length))
88 kb file to show in my web browser from my web service. I think that
is too long when you webservive is on a network server. Can someone
look at this please. Thanks
bImage = New Bitmap("c:\images\" & arrImages(ImageNo).ToString)
'Save as PNG file
bImage.Save(bFile, System.Drawing.Imaging.ImageFormat.Png)
'Return Binary file
Return bFile.GetBuffer()
When I get is from the web service I just display it using
Response.ContentType = "image/png"
ms = New MemoryStream(x)
Response.OutputStream.Write(x, 0, Convert.ToInt32
(ms.Length))