Hello, we are currently making a small program for business cards. How can we convert a page into a picture in the small program? Is there such a js interface? Thanks, I've tried using canvas, but the applet can't get the dom. .
为情所困2017-06-28 09:30:42
wx.canvasToTempFilePath(OBJECT)
This? You try it
The subsequent image address can be used wx.previewImage(OBJECT)
to preview
伊谢尔伦2017-06-28 09:30:42
Please refer to: https://github.com/demi520/wx...
Still draw with canvas, or you can consider server-side generation