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

Increase resolution of PNG file? #16

Open
nachiket opened this issue May 22, 2020 · 2 comments
Open

Increase resolution of PNG file? #16

nachiket opened this issue May 22, 2020 · 2 comments

Comments

@nachiket
Copy link

Hi is there a way to configure the resolution of the PNG file? It looks like svg2img has a dpi option. I was wondering if the PNG export can use 300dpi export quality through a cmdline option?

@drom
Copy link
Member

drom commented May 24, 2020

I would love to do that but I can't see dpi option in svg2img https://github.com/fuzhenn/node-svg2img

@nachiket
Copy link
Author

My apologies -- I looked at the wrong place https://github.com/sdpython/pyquickhelper/blob/master/src/pyquickhelper/imghelper/svg_helper.py. Not sure that helps. I played around a bit with width/height/aspect ratio but didn't get any meaningful output.

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

2 participants