-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Confusing behaviour of scale
parameters
#17
Comments
Thanks for the feedback, this is very useful. I see how this could be confusing. On several occasions I did use the ability to do (relative) Having a separate |
Makes sense, I didn't think of this use case. |
Yes, |
Further commit d2be51f to default to keeping proportions. |
I am trying out
vpype
and hit a problem early on. At first I thought it's a bug:vpype read foo.svg scale 10cm 10cm write scaled.svg
However I should have actually used
--to
to achieve what I want:vpype read foo.svg scale --to 10cm 10cm write scaled.svg
The resulting file initially was huge as the factor that it was scaled with is actually centimetres converted to px:
There could be few things that would have helped me to see what goes wrong:
scale
would error out when passed size with units.scale
would default toscale --to
when passed size with units.The text was updated successfully, but these errors were encountered: