Skip to content

convert-svg-to-png options do not override fixed SVG size #58

Description

@lietusme

To ensure that SVG rendered correctly, I tried using w3 provided samples:
https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/

But seems that fixed size SVGs do not resize, like this one:
https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/Test.svg

convertFile() with options did produce specified dimensions PNG image, but SVG graphic was left in top-left corner in original size. Small dimensions just crops graphic.

This can be worked around by using non-fixed size SVGs, but is unexpected generally.

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