issues
issues copied to clipboard
后端根据前端传递的数据动态生成图片
本人是一个全栈工程师,我选择的方案是使用 node-webshot 来实现如题的功能,这个 node 模块提供了简单易用的 API 来完成 web 页面的截屏任务,它是一个轻量级 phantomjs 的一个轻量级封装,它利用了 WebKit 来执行页面渲染。
工具
- phantomjs
:Scriptable Headless Browser
- node-webshot
: Easy website screenshots in Node.js
- screenshot-phantom
: node端基于phantomjs的屏幕截取服务
- phantomjs Screen Capture
- CutyCapt
:A Qt WebKit Web Page Rendering Capture Utility
- html2canvas
:Screenshots with JavaScript https://html2canvas.hertzen.com/
教程
phantomjs
- highcharts 结合phantomjs纯后台生成图片 .net winform
- 使用Java调用PhantomJS动态导出ECharts图片到Word文件中
- Highcharts结合PhantomJS在服务端生成高质量的图表图片 - .net
- NodeJS PhantomJS screenshot via Express - Nodejs
html2canvas
CutyCpt
https://github.com/GoogleChrome/puppeteer