request assistance resizing and centering svg #138
Replies: 1 comment 2 replies
-
I ended up manually resizing them. So this is not pressing, although I would still like to know how to do this for possible future cases. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to resize and center ~230 svgs, I figured it would be better to automate this, but running into some issues.
This is what I need to do specifically.
Issues I'm facing
The scale operation doesn't seem to work when there are multiple objects
The final line is not working as I expect (supposed to resize the "page"?) (this works though Is there a way to resize the backround/paper without also automatically resizing the shapes inside of the svg? #72 (comment))
How to align the new image to the center of the page? Replicating the UI commands shown

How can define the
canvas
object so my IDE doesn't complain about it? (and can give typing hints)Any guidance would be appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions