Javascript SVG with Filters to Canvas?

Discussion in 'Programming' started by Heretic86, Mar 11, 2022.

  1. #1
    Im having some trouble getting an SVG Image to draw to Canvas.

    SVG has some filter effects cant be done on a Canvas. Namely feColorMatrix.

    So far, I am able to create a new Image() from data:image/svg+xml;base64, but once I have that image, I am not able to draw that image into my Canvas.

    https://www.webucate.me/svg4.html

    Can someone tell me what I am doing wrong?
     
    Heretic86, Mar 11, 2022 IP