cli icon indicating copy to clipboard operation
cli copied to clipboard

Increase resolution of PNG file?

Open nachiket opened this issue 5 years ago • 2 comments

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?

nachiket avatar May 22 '20 04:05 nachiket

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

drom avatar May 24 '20 22:05 drom

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.

nachiket avatar May 26 '20 07:05 nachiket