如何在php中制作网页的快照图像? [英] How can I make a snapshot image of a web page in php?

查看:157
本文介绍了如何在php中制作网页的快照图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用php,我想使用php拍摄我的网页快照。与此类似的东西

I am using php and I want to take a snapshot of my web page using php. Something similar to this

http:/ /www.moneycontrol.com/gd/mail_indices.php

我该怎么做?

推荐答案

PHP中创建图像的最快和最可靠的方法是查看 GD图书馆。它们有很多功能可以帮助您轻松创建图像。

The fastest and surest way in PHP to create images is to look at the GD Library. They have tons of functions to help you create your image easily.

如果您需要Windows字体中但不是PHP字体的字体,您可以使用此工具转换它: http://www.wedwick.com/wftopf.exe

Should you need a font that is available in Windows Font but not in PHP font, you can use this tool to convert it: http://www.wedwick.com/wftopf.exe

这篇关于如何在php中制作网页的快照图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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