php 实现网页生成图片

WBOY
Release: 2016-06-23 14:06:02
Original
1713 people have browsed it

php 实现网页生成图片
比如 有一个接口接收一个 连接地址比如 baidu.com
然后结果php可以生成图片。


回复讨论(解决方案)

看一下gd 或imagemagick

如果你说的是把网页的外观(渲染后)生成图片,这个比较难
需要插件或者服务器上装有webkit/PhantomJS之类工具,且php有权限调用

没用过,应该要用到GD之类的库

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!