如何创建使用JS网站的形象? [英] How to create an image of the website using js?

查看:119
本文介绍了如何创建使用JS网站的形象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以转换的网站,以JPG或GIF?我的意思是,是不是可以查看该网站作为一个形象? (显然不动画)只有静态图象,如网站,用户在浏览器上看到...的相片

Can I "convert" the website to a JPG or GIF? I mean, is it possible to view the website as an image? (obviously without animation) only a static image, like a photo of the website that the user is seeing on the browser...

感谢您!

推荐答案

没有是不可能的,因为该网站的样子是一个浏览器是如何呈现的,也可以是不同的尺寸和存在很多变数的方式您网页的外观。
您可以使用PHP做服务器端,但它不会是简单的话,那将意味着你的服务器必须有一个浏览器将生成的网站,将其保存在服务器上的图像,并将其发送给用户

No it is not possible, since the way the website looks is just how a browser renders it, it can be different sizes and there are many variables to the way your page looks. You can do it server-side using PHP but it won't be simple at all, it would mean your server has to have a browser that will generate the website, save it as an image on the server, and send it to the user.

这篇关于如何创建使用JS网站的形象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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