WireViz icon indicating copy to clipboard operation
WireViz copied to clipboard

[Feature] Add dpi-setting to command line for PNG export

Open SiboVG opened this issue 3 months ago • 2 comments

When I export a large harness to PNG, the details become very blurred. It would be nice to be able to set the dpi for the PNG export as a command-line argument and/or as metadata.

SiboVG avatar Sep 24 '25 08:09 SiboVG

See the suggested PR #379 that could be one possible future way to obtain this.

With the current version (or actually v0.3 or above), you can try adding something like this to your YAML input:

tweak:
  override:
    graph:
      dpi: "600"  # Override the default output DPI

See the syntax doc for an explanation.

kvid avatar Sep 28 '25 09:09 kvid

See the suggested PR #379 that could be one possible future way to obtain this.

With the current version (or actually v0.3 or above), you can try adding something like this to your YAML input:

tweak: override: graph: dpi: "600" # Override the default output DPI

See the syntax doc for an explanation.

Great, thanks!

SiboVG avatar Sep 28 '25 10:09 SiboVG