SVG option? #22
Replies: 1 comment 1 reply
-
Hey I'm not sure how this would work. What would you pass to Browsershot? An URL? HTML and CSS? $svg = BrowsershotLambda::html('<div>Hello World</div>')->bodySvg();
Storage::disk('public')->put('example.svg', $svg); I wanted to point out that this isn't something that should be solved in sidecar-browsershot, but in Browsershot itself. But I saw you already opened a discussion and didn't get an answer yet. But Browsershot itself is also just a wrapper around Puppeteer, and Puppeteer doesn't have that feature … as far as I can see from the documentation. Not sure how to go forward with this. I surely don't have the knowledge on how to transform HTML to SVG. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the awesome package. Is there possibly a way you could add an option to save the output as an SVG? That would be super awesome!!
Beta Was this translation helpful? Give feedback.
All reactions