保存/导出HTML内容的图像文件? [英] save/export image file from html content?

查看:87
本文介绍了保存/导出HTML内容的图像文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个场景,我正在创建动态html内容,并且需要使用php,jQuery和JavaScript [或其他任何可能的方式]将html内容导出/保存到图像文件中。

解决方案

毕竟我决定使用代码
php


GD和图像函数

http://php.net/manual/en/ref.image.php

用这个,
i已经在图片的特定位置创建了特定的html元素。



感谢所有贡献者。


I have a scenario that, I am creating dynamic html content and I need to export/save the html content to an image file with php, jQuery and JavaScript [or with any other if possible].

解决方案

After all i have decided to use the code php

GD and Image Functions

http://php.net/manual/en/ref.image.php

with this, i have created the specific html elements at specific positions with images.

thanks all for contributing.

这篇关于保存/导出HTML内容的图像文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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