你能给我在javascript或flash中打印屏幕并转换为jpg的功能吗
你能给我在javascript或flash中打印屏幕并转换为jpg的功能吗
Could you please give me the function of taking print screen and convert in to jpg in javascript or flash
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
出于安全原因,这些功能不可用于 Web 浏览器,因此不可用于其中运行的任何代码。
否则,破解者可以轻松观察用户在屏幕上输入的内容。
For security reasons, these functions are not available to a web browser and consequently not to any code which runs inside of it.
Otherwise, crackers could easily observe what the user is typing on the screen.
我认为这在任何一个方面都是不可能的,因为这将是一个很大的安全风险。 考虑到您无法从其中任何一个写入文件,您会如何处理 JPG?
I don't think it would be possible in either of these as then it would be a big security risk. And what would you do with the JPG, considering that you can't write to a file from either of those either?