0
我有4000 x 10000(+)
的图表。 转换图像时,它将返回4000 x 8000图像,该图像不是完整图像。canvg toDataURL不能返回大图的完整图像
Code : var canvas = document.createElement('canvas');
canvg(canvas, this.canvas.toSVG()); // this : rapheal object
var img = canvas.toDataURL('image/jpeg');
我注意到你已经打开了这个问题,在GitHub上https://github.com/gabelerner/canvg/issues/408但是这看起来是一个已知的问题:https://github.com/gabelerner/ canvg/issues/215 –
现在没有解决方案吗? –