-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svg support? #6
Comments
SVG isn't supported at the moment. I'll look into that. |
Thanks :) |
It looks like it's available in |
Hmm, nevermind, seems like that just creates image-path. I tried this: console.log(canvas.Path.MakeFromSVGString(s)) where |
It seems to transform SVG const path = Skia.Path.MakeFromSVGString(
`M0 18C0 8.059 8.059 0 18 0s18 8.059 18 18-8.059 18-18 18S0 27.941 0 18`,
); but I think it should help in adding SVG support, I'll give this a try |
I am using deno-canvas for making a test image and i was using a svg image url to load image but whenever i try to load image it throws me a error
Invalid Image
. But when using nodejs's canvas it works fine. Is the problem with svg or something? Here is my code to reproduce the error:The text was updated successfully, but these errors were encountered: