打印canvas标签的内容
我制作了一个应用程序画布。我在画布中加载更多图像(png、gif)。当我在浏览器(opera)上单击打印时,canvas 标记的内容不会打印。使用其他浏览器(FF、IE、Chrome)没有问题。为什么?
I make an application canvas. I load more image (png, gif) in canvas. When I click print on my browser (opera), the contents of the canvas tag does not print. With other browsers (FF, IE, Chrome), there is no problem. Why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个答案来自 Capture HTML Canvas as gif/jpg/png/pdf?< /a> 可能有用。
使用 IMG 中的值,您可以将其写为新图像,如下所示:
this answer from Capture HTML Canvas as gif/jpg/png/pdf? might be useful.
with the value in IMG you can write it out as a new Image like so: