问题描述
我想创建一个WebView应用程序。但我不知道如何保存图片,我该怎么办?使用InvokeScriptAsync?
我尝试过:
我想要制作一个WebView应用程序。但我不知道如何保存图片,我该怎么办?使用InvokeScriptAsync?
Hi , I want to make an WebView application. but I don't know how I'd save pictures, How Can I do? with InvokeScriptAsync?
What I have tried:
Hi , I want to make an WebView application. but I don't know how I'd save pictures, How Can I do? with InvokeScriptAsync?
推荐答案
保存图像而不下载
通过将图像下载到内存或硬盘驱动器来保存图像。浏览器基本上将页面加载到内存,然后缓存它们,如果需要,它们将它们存储在硬盘驱动器中。基本上,他们最终会下载它们。
Saving the image is performed by downloading the image, either to memory, or to hard drive. Browsers basically load the pages to memory, then to cache them they store them in hard drive if required. So basically, they end up downloading them.
这篇关于UWP webview保存图像而无需下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!