Re:Vercel OG Image Generation: Fast, dynamic social card ima...
by lloydatkinson on Tuesday October 11, 2022 @02:32PM
(#33167186)
That seems to generate svgs which as far as I know no site will show og embeds with svgs for some reason
[ Parent
| on HN ]
Re:Vercel OG Image Generation: Fast, dynamic social card ima...
by pzrsa on Wednesday October 12, 2022 @04:45AM
(#33174448)
I use svgs for my websites og images, haven't come across an issue with embeds on most platforms.
Re:Vercel OG Image Generation: Fast, dynamic social card ima...
by shuding on Wednesday October 12, 2022 @04:24PM
(#33182568)
There are already a lot of choices to convert SVGs to PNGs, what Vercel uses is https://github.com/yisibl/resvg-js. And Sharp is another good option.