mermaidjs / mermaid.cli

Development has been moved to https://github.com/mermaid-js/mermaid-cli
MIT License
1.09k stars 117 forks source link

Is there any way to set dpi for png #51

Closed shixuguo closed 1 year ago

shixuguo commented 6 years ago

in some condition , I have to use png instead of svg but the default dpi for png is too low (=72) Is there any way to set dpi for png

cherrot commented 5 years ago

I also need this feature. Is there any updates? thanks.

IAXES commented 3 years ago

Please see https://github.com/mermaidjs/mermaid.cli/issues/3

There are various solutions there to rapidly achieve this. Should be able to close this issue.

aloisklink commented 1 year ago

Development has moved to the https://github.com/mermaid-js/mermaid-cli repo, please re-open your issue there if it's still relevant. The package has also been renamed on NPM to @mermaid-js/mermaid-cli, so you may need to run npm uninstall mermaid.cli && npm install @mermaid-js/mermaid-cli to get the latest version of this package.

There is a --scale argument, so you could set --scale 2 to double to DPI, and see if that helps!