og-image icon indicating copy to clipboard operation
og-image copied to clipboard

Testing `resvg-js`

Open styfle opened this issue 3 years ago • 4 comments

Fails without valid svg so I had to add version and xmlns

<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="1280" height="640">

styfle avatar Jan 07 '22 18:01 styfle

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/og-image/8HNrSByPrRAiyjPAgQ7GCXE8ojFi
✅ Preview: https://og-image-git-resvg-js.vercel.sh

vercel[bot] avatar Jan 07 '22 18:01 vercel[bot]

Fails without valid svg so I had to add version and xmlns

Yes, resvg must parse the spec compliant SVG format. If there are special requirements, they can be handled in the preprocess.

Thank you for using resvg-js and feel free to raise an issue if you need it.

yisibl avatar Jan 20 '22 02:01 yisibl

resvg-js is really cool but it seems to still miss the feature to render images, which this project would need.

SpaceK33z avatar Apr 14 '22 11:04 SpaceK33z

resvg-js is really cool but it seems to still miss the feature to render images, which this project would need.

@SpaceK33z Don't worry, we'll implement it in a subsequent release.

yisibl avatar Apr 14 '22 11:04 yisibl

Closing in favor of #226

styfle avatar Jan 20 '23 23:01 styfle