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

Scale in versions > 2.1.0 #109

Open
thybzi opened this issue Mar 26, 2018 · 0 comments
Open

Scale in versions > 2.1.0 #109

thybzi opened this issue Mar 26, 2018 · 0 comments

Comments

@thybzi
Copy link

thybzi commented Mar 26, 2018

Thanks a lot for that tool.
I'd wish to know how can I comfortable scale the image when using 3.x or 4.x versions.

Is there any other way than:

  • manually parse source svg content to get width and height
  • multiply them to source svg dimensions
  • pass multiplied dimensions as width/height options
  • (and source svg image should obligatory have viewBox, otherwise the image will be cropped not scaled)

Why scale option support was dropped?

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