Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Is there any way to set dpi for png #51

Closed
shixuguo opened this issue Nov 9, 2018 · 3 comments
Closed

Is there any way to set dpi for png #51

shixuguo opened this issue Nov 9, 2018 · 3 comments

Comments

@shixuguo
Copy link

shixuguo commented Nov 9, 2018

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
Copy link

cherrot commented Apr 28, 2019

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

@IAXES
Copy link

IAXES commented Dec 17, 2020

Please see #3

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

@aloisklink
Copy link
Collaborator

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants