I've added a new scale option to the API and CLI which, when defined, is applied to either the specified (via options) width and height or those derived from the SVG input.
The default scale is 1, which means the width/height are used as-is, without any scale being applied.
I accidentally merged this PR into master so I had to revert it (see PR #12), however, the changes are now correctly in develop and will be included in the upcoming 0.2.0 release.
This PR delivers what was requested in #3.
I've added a new
scale
option to the API and CLI which, when defined, is applied to either the specified (via options) width and height or those derived from the SVG input.The default scale is
1
, which means the width/height are used as-is, without any scale being applied.