在 C# 中保存来自 Web 请求的图像
我正在使用 jQuery 网络摄像头插件与页面中的网络摄像头进行通信并拍摄快照。它的工作方式是通过与 Flash 助手进行通信。为了保存图片,它会获取另一个页面的名称并向该页面发送 Web 请求。我已成功收到对方的请求。我想保存该请求中的图像。
I'm using a jQuery webcam plugin to communicate with a webcam in my page and take a snapshot. The way it works is by communicating with a Flash helper. To save the picture it takes the name of another page and sends a web request to that page. And I'm successfully receiving that request on the other. I want to save the image from that request.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您声称拥有获取请求的代码,您只需加载图像并将其保存到磁盘即可。这需要清理,但类似以下的内容应该可以工作:
You claim to have the code for getting the request, you just need to load the image and save it to disk. This needs cleaned up, but something like the following should work:
我已经这样做了,它对我有用。
I Have Done That In This And It Works For Me.