Open harish-sethuraman opened 1 year ago
This is a known bug: svg is not supported by pdf kit
See https://github.com/vercel/satori/pull/118#issuecomment-1238215272 for more details.
We should probably change the playground example to avoid this bug.
We should probably change the playground example to avoid this bug.
True. I thought it was a error by opening the console. I'd be happy to send a fix if any.
I'm thinking about making a better PDF solution with probably https://github.com/typst/svg2pdf, while this one in the playground is more like a quick proof of concept.
Bug report
Description / Observed Behavior
image not rendered inside PDF (satori + PDFKit) got this in console
Expected Behavior
The image should have rendered
How did you expect Satori to behave here?
Reproduction
Go to https://og-playground.vercel.app/ and click on PDF preview