Is there a way to quickly convery SVG to Vips Image? #66
-
|
This is very important for data viz for example when creating images in contex of Ggity. I cannot find a simple function to wrap around a n svg and compose it w.r.t a VIPS image. For instance in imagemagick we have: convert -size 1024x1024 test.svg test.png |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Absolutely possible. Just |
Beta Was this translation helpful? Give feedback.
-
|
Ah cheers m8, yah, apologies for my question as its so trivial. If you add it to the docs its much more clear for sure. |
Beta Was this translation helpful? Give feedback.
-
|
Nothing to apologise for - its not noted in the docs so that's on me. BTW, under the covers the |
Beta Was this translation helpful? Give feedback.
-
|
@severian1778, Arrrrghhh, my mistake. It's |
Beta Was this translation helpful? Give feedback.
Absolutely possible. Just
Image.open("<svg ......"). I need to add that to the docs for sure. Let me know if you have any issues though.