来自 iFrame 的动态 PHP 图像?
我想知道是否有一种方法可以基本上拍摄网页快照。举个例子: http://ffaat.pointclark.net /blog/archives/42-Dynamically-Generated-Text-Images.html 他能够根据文本参数动态生成图像(如下所示:http://ffaat.pointclark.net/blog/templates/rob2/img/titleimage.php?text=Hello%20Stack%20Overflow%20People!%20Help%20me%20out%20here.&px =18)。但是,我可以更进一步,获取一个可能的 iFrame 小部件并将其转换为动态 PHP 图像吗?我会使用小部件的 JavaScript 代码,但它不起作用;然而,这不是本次讨论的主题。
如果这是可能的,那就太好了,但如果没有,我会尽力而为。谢谢!
I would like to know if there is a way to essentially take a snapshot of a webpage. Take this example: http://ffaat.pointclark.net/blog/archives/42-Dynamically-Generated-Text-Images.html where he is able to dynamically generate an image based on a text parameter (like so: http://ffaat.pointclark.net/blog/templates/rob2/img/titleimage.php?text=Hello%20Stack%20Overflow%20People!%20Help%20me%20out%20here.&px=18 ). However, can I go a step further and grab a would-be iFrame widget and convert this to a dynamic PHP image? I would use the widget's JavaScript code, but it's not working; however, that is not the topic of this discussion.
If this is possible, great, but I'll make due if not. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您能够访问linux,那么您可以了解ffmpeg,ffmpeg在创建动态屏幕截图并将其转换为视频方面非常强大,由于ffmpeg不是很常见,您会发现教程较少,并且您将不得不花费大量时间,有一点是肯定的,使用 ffmpeg 你永远不会搞砸质量,它就是那么好,甚至 youtube 使用 ffmpeg 将 mp4 电影转换为 flv
http://linuxers.org/tutorial/ffmpeg-tutorial-beginners
If you have access to linux than you can learn about ffmpeg , ffmpeg is very powerful in creating dynamic screen shots and convert them to videos as well , As ffmpeg is not very common you will find less tutorial and you will have to spend lot of time, 1 thing is for sure with ffmpeg you will never mess up with quality, it is that good , even youtube use ffmpeg to convert mp4 movies to flv
http://linuxers.org/tutorial/ffmpeg-tutorial-beginners