屏幕截图/以某种方式将 CSS3 保存到图像?
我有一个 512x512 的 div,用户可以拖放内容。
我想保存它以便在不支持许多 CSS 属性的电子邮件中使用。
我最初的想法是截取屏幕截图并裁剪它,但我似乎找不到这样做的好方法。
I have a div that's 512x512 and the user can drag/drop stuff around.
I would like to save this for use in an email which doesn't support many CSS properties.
My initial idea was to take a screenshot and crop it but I can't seem to find a good way of doing this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想出了如何做到这一点,并在这里写了一篇博客文章 - http://jbeas.com/ruby-on-rails/rails-screenshot-pdf-gem/
I figured out how to do this and wrote a blog post on it here - http://jbeas.com/ruby-on-rails/rails-screenshot-pdf-gem/