-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Feature] Add an option to convert svg to png in url parameters #40
Labels
enhancement
New feature or request
Comments
I believe i tried that when originally developing invidget, but ended up not doing it due to the lack of a good library to convert it. Most libraries wouldn't render fonts or images correctly. If anybody wants to pick this up, feel free to, though. |
I'm more than happy to accept it.
|
Good luck! |
We're using sharp, and the PR is already open, I'm just freaking because the guild icon isn't being rendered |
My bad. Didn’t see #42. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be cool that if someone added
?format=png
to the end of the URL, the image is automatically converted to a PNG file. I might do a PR later on that if I have timeEdit: This is necessary when sending messages to discord, as discord does not allow embedded SVG for security reasons.
The text was updated successfully, but these errors were encountered: