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

SVG Support #37

Open
pke opened this issue Oct 14, 2016 · 0 comments
Open

SVG Support #37

pke opened this issue Oct 14, 2016 · 0 comments

Comments

@pke
Copy link

pke commented Oct 14, 2016

I'd really like to get SVG support into this generator. With that in place we could properly scale parts of the source images to the according screensizes.
SVG supports stylesheets so we could arrange elements aligned to left or top border and scale them with the target resolutions.
But I don't see how this can work in a node app without a canvas. I thought of an offscreen surface to render the SVG in but no idea if that is even supported.
There is https://www.npmjs.com/package/svg2png

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

No branches or pull requests

1 participant