如何将图像传输到webservice并将其恢复 [英] how to transfer images to webservice and retrive it back

查看:102
本文介绍了如何将图像传输到webservice并将其恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜!!!


i需要专家的帮助就像你的人一样..


im创建一个应用程序,将图像传输到存储在服务器内存温度中的web服务..并同时在其他位置回溯那些图像..我成功创建了应用程序..使用一些序列化概念(BInary Formatter)..但主要问题是......它的工作非常慢。在观看者一侧显示图像需要花费太多时间才能在浏览器中看到活动图片中的图片..所以请帮助我如何快速传输图像....还有一些在activex中也存在问题..它在某些IE中不起作用。喜欢它在一个网络中的IE6.0或IE7.0中工作,而不是在具有相同浏览器的其他网络中工作..它也不能在mozilla firefox中工作..


所以请伙计们帮帮我/ ....


i应该非常感谢你..


再次感谢...

hi!!!

i need some help from the Experts Like u people..

i m creating a applictaion that transfer images to the webservice which store in server memory temp.. and retrive back those images on other location at the same time.. i successfully created the applictaion .. using some serialization concept (BInary Formatter).. But the main issue is that .. it isworking very slow. it take too much time around 30 - 40 sec to display image on the viewer side which is seeing the picture in a activex in the browser.. so please help me out how could i transfer images fastly.... and also there is some problem in activex too.. it does not work in some IE''s. Like it works in IE6.0 or IE7.0 in one network and not working in other network having same browser.. and it does not working in mozilla firefox too..

so please guys help me out/....

i shall be higly thankful to you..

again thanks in advance...

推荐答案

@ sandeepdhankar10


根据您发送的图片大小而定。处理将花费时间......

尝试使用压缩 GZipStream类


当我发送图像时......它们已被压缩..大小约为180 kb(Max ..)...是能够压缩m的GZIPStream类更多...... ????
actully when i sending the images /... they are allready compressed.. there size was around 180 kb (Max..)... is the GZIPStream Class able to compress much more...????


@ sandeepdhankar10


已经压缩了?好吧..如果大小是180kb ...我猜它确定..你可以,如果你想要仍然压缩它...你可以使用GZipStream类...它会真正的小然后...也许15kb(对于xml文件它压缩很多)?

如果我理解正确

1.你想将图像A发送到网络服务

2. webservice处理它并发送回来?

3.你把它显示出来了吗?

如果那样,那我觉得它需要时间......你应该考虑配置webservice来快速进行处理并使其可用所有的时间......

Web服务对图像的作用究竟是什么?对于传输和检索,我认为延迟5-10秒是好的..特别是如果它是一个图像文件?
@sandeepdhankar10
allready compressed?? ok .. if the size is 180kb... i guess its ok .. you can if you want still compress it .. you can use GZipStream Class... its gonna be real small then ... perhaps 15kb( for xml files it does compress a lot )?
If i understood you correctly
1.you want to send image A to webservice
2. webservice process it and sends it back?
3. You display it back?
If that right then i guess its going to take time... You should consider configuring webservice to do the processing fast and making it available all the time ...
what exactly is the web service doing to the image? For transfer and retrieval i guess delay of 5-10sec is ok.. specially if its a image file?


这篇关于如何将图像传输到webservice并将其恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆