-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add image resolver API #102
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/yisibl/resvg-js/HxTmBN3tTvRFVn3HMGbBU34dXuzf |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
我们还需要 Wasm 的 binding。 |
2b2edee
to
0a8328a
Compare
@@ -56,3 +57,7 @@ opt-level = 3 | |||
# Setting this to 1 may improve the performance of generated code, but may be slower to compile. | |||
# https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units | |||
codegen-units = 1 | |||
|
|||
[patch.crates-io] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请增加一个注释,注明使用 fork 分支的原因。
Why is this feature not showing in README.md? |
imagesToResolve()
andresolveImage()
APIs to load image URL.xlink:href
starting withhttp://
orhttps://
.Fixes #76