将网页另存为图像 [英] To save webpage as image
问题描述
我必须通过传递页面URL将网页另存为图像,我在此线程上找到了一种解决方案 ^ ],但它没有给我正确的图像(例如,尝试使用的URL http: //www.bugmuncher.com/).
还尝试了 C#中的HTML到图像 [解决方案
看看:
在C-Sharp中将网页另存为图像 [ C#中的HTML图像 [将网页从ASP.NET转换为图像 [如何使用c#将网页转换为图像 [ ^ ]
用于保存整个网页的C#代码? (带有图片/格式) [如何将网页保存为图像 [ ^ ]
从CP尝试本文:
使用C#捕获整个网页的图像 [ ^ ]
I have to save webpage as image by passing page URL,i have found one solution on this thread http://stackoverflow.com/questions/2715385/convert-webpage-to-image-from-asp-net[^] but it doesn''t give me proper image(e.g. tried URL http://www.bugmuncher.com/).
Also tried HTML to Image in C#[^] but not able to deal with IViewObject interface ,basically not able to add reference to get this interface.
I have to do something like www.usersnap.com does.I made it work on FF,Chrome and IE9 by using canvas element which is unfortunately not supported by IE8.
Can i get proper working solution for my need???
Have a look:
Save Webpage as Image in C-Sharp[^]
CP: HTML to Image in C#[^]
Similar discussion:
Convert webpage to image from ASP.NET[^]
How to convert webpage to image using c#[^]
C# code for saving an entire web page? (with images/formatting)[^]
How do I save a web page to image[^]
Try this article from CP:
Image Capture Whole Web Page using C#[^]
这篇关于将网页另存为图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!