Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing default output format from .png to .svg #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nicolas-arnold
Copy link

Changes:

  • changed output format of graphviz.py from png --> svg
  • renamed mention of output file in README.md accordingly

Explanation:
svg (scalable vector graphics) usually lead to a smaller file, while at the same time the fact of being a scalable image format, rather than rasterized, prevents pixalation. I think it should be default file format for such an application, as the graph might get pretty big, depending on the project one tries to inspect with it.

I've seen a few libraries outputting ~10MB .pngs with "nothing to see there" anyway. (The output I got with pycallgraph2 was ~1MB and readable, but pixalated.)

Thanks for maintaining this library. :)

svg (scalable vector graphics) usually means a smaller file, while the fact of being a scalable image format, rather than rasterized, prevents pixalation. I think it should be default file format.
This updates the README to speak of `pycallgraph.svg` instead of `pycallgraph.png` accordingly.
@Volumetric-Nanometre
Copy link

I would like to bump this to get it included as the default .png suffers massively from pixilation at large sizes.

@KevinKaChunLee
Copy link

Bumping this again, png is too pixelated to be useable in any meaningful use cases.

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

Successfully merging this pull request may close these issues.

3 participants