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

Support SVG input #107

Closed
jonmmease opened this issue Sep 16, 2023 · 0 comments · Fixed by #108
Closed

Support SVG input #107

jonmmease opened this issue Sep 16, 2023 · 0 comments · Fixed by #108
Milestone

Comments

@jonmmease
Copy link
Collaborator

The primary goal of VlConvert is the conversion of Vega and Vega-Lite charts to other formats. But the PNG and PDF export workflows both work by first converting a chart to an SVG image, then converting the SVG image to either PNG or PDF. Because of this, it would be fairly straightforward to support conversions that input general SVG images: svg_to_png and svg_to_pdf.

This would allow VlConvert to serve a purpose similar to svglib's svg2pdf functionality, but with a permissive license (svglib is LGPLv3 licensed). Or similar to CairoSVG's svg2png/svg2pdf with a permissive license (CairoSVG uses LGPLv3) and without a dependency on a system install of the cairo shared library.

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 a pull request may close this issue.

1 participant