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

0.6.0 produces dimmer renders than 0.5.0 #92

Open
NotoriousWebmaster opened this issue Sep 7, 2022 · 0 comments
Open

0.6.0 produces dimmer renders than 0.5.0 #92

NotoriousWebmaster opened this issue Sep 7, 2022 · 0 comments

Comments

@NotoriousWebmaster
Copy link

NotoriousWebmaster commented Sep 7, 2022

I recently needed to add filter: brightness(2.0); to my SVG's CSS. But converting it with 0.5.0 showed no indication that the filter was being used. I tried some other filters, and they were similarly ignored. I use the convert() API call, with no options, simply pass in the SVG string.

So I upgraded to 0.6.0, and the filter was recognized and used. However, a couple of issues cropped up.

  • the SVG was dimmer than its render in the browser (and dimmer than its render using 0.5.0)
  • stroke-width seems to be ignored

I haven't found any other issues, as I reverted back to 0.5.0. I'll have to find some other way to handle the required brightness.

Let me know if you'd like some samples. I'm happy to help any way I can.

Good luck!

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

No branches or pull requests

1 participant