I'm trying to convert svg to canvas using the canvg js lib.
The original svg contains a rect which has a fill attribute of url to a svg pattern. When I convert the svg to canvas using canvg:
The image of the rect fill changes its proportions (The width and the height change).
This shows the svg before and after the conversion.
Does anyone have an idea for solving this issue?