canvas2svg
canvas2svg copied to clipboard
image opacity + fix
Image opacity can be easily supported by adding the last line here:
} else if (image.nodeName === "CANVAS" || image.nodeName === "IMG") {
//canvas or image
svgImage = this.__createElement("image");
svgImage.setAttribute("opacity", this.globalAlpha || 1);