Skip to content

SVG Support #37

@pke

Description

@pke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions