canvas绘制png图片时,透明部分会变成黑色
const ctx = wx.createCanvasContext(‘share’, this);
const url = ‘随意透明底png’;
ctx.drawImage(url, 0, 0, 100, 100);
ctx.draw()
const ctx = wx.createCanvasContext(‘share’, this);
const url = ‘随意透明底png’;
ctx.drawImage(url, 0, 0, 100, 100);
ctx.draw()