Skip to content
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

Fix: Images with external urls are not loaded #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dkyeremeh
Copy link

node-canvas was able to load images with external urls, but @resvg/resvg-js does not do so automatically.
This PR intends to close the gap

  1. Preloads images with external urls before resvg renders the svg
  2. Allows images to point to external svg images as well

@fuzhenn fuzhenn requested a review from yisibl September 24, 2023 02:39
@yisibl
Copy link
Collaborator

yisibl commented Sep 25, 2023

Thanks for your contribution, need to add test cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants