var page = pdf.GetPage(1); canvas.SaveState();canvas.SetFillColor(iText.Kernel.Colors.ColorConstants.YELLOW);
var pageWidth = page.GetPageSize().GetWidth();<e
我正在使用HTML2canvas、filesaver.js和canvas2blob.js来实现浏览器内的保存-对话。在飞行的帆布创作和保存作品很好,除了图像背景是黑色的。我的JS:// html2canvas.js linked with filesaver.js and canvas2blob.js for compatibilitypolyfilling