将html输出另存为图像 [英] save html output as image

查看:84
本文介绍了将html输出另存为图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< b>将html字符串另存为image</b>

你好,

我将HTML内容存储到数据库中以发送邮件.现在,我想提取该HTML字符串并另存为邮件正文图像.有什么可以帮助我的...

解决方案

为什么?直接使用HTML会更容易,更友好,更快捷,因为电子邮件仍然可以HTML格式发送吗?
如果将其转换为图像,则必须将其作为图像发送,这需要更多的空间和带宽,并且可能使必须支付兆字节费用的移动连接用户烦恼?

尝试
将HTML文档捕获为图像 [ 解决方案

Why? Would it not be easier, more friendly, and quicker to just use the HTML directly, since emails can be sent as HTML anyway?
If you convert it to an image, then you have to send it as an image, which requires a lot more space and bandwidth, and may annoy the heck out of users on mobile connections, who have to pay by the megabyte?


Try
Capture an HTML document as an image[^]
Article dealing how to Capturing HTML documents as images


First i want to thank Mr.RaviRanjankr , Mr.OriginalGriff for valuable support.
I solved my problem by taking Iframe and i called html content into that than i captured the Iframe content as an image..once again thanks to those guys who supported me and CodeProject.


这篇关于将html输出另存为图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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