wavedrom / cli

CLI for WaveDrom
https://wavedrom.com
MIT License
61 stars 12 forks source link

Increase resolution of PNG file? #16

Open nachiket opened 4 years ago

nachiket commented 4 years ago

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 commented 4 years ago

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

nachiket commented 4 years ago

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.