You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That makes an unusably small image! At first I thought svgexport simply couldn't handle this file, and came here to report that bug. But eventually, I realized that I was supposed to write 400:400, not 400x400. And that made it work fine.
So my feature request is: It would be useful if svgexport would recognize failed attempts at the required WIDTH:HEIGHT syntax, and give a useful error message — or simply support the WIDTHxHEIGHT syntax as an alternative! Anything that makes it more of a drop-in replacement for ImageMagick convert would be fantastic.
The StackExchange examples lead me to believe that you accept 2x as a synonym for what ImageMagick calls 200%, and that you probably don't have any equivalent of ImageMagick's 100x or x100 (i.e. specifying just the width or just the height). I don't know if you can really do anything to help with those use-cases, without breaking existing use-cases (e.g. it would be good for 100x to mean "width 100, height proportional" just like ImageMagick, but it would probably be bad for your existing users if 10x stopped meaning "scale by 1000%," so I don't think you can win either way on that one.)
This bug report relates to svgexport version "Invalid usage!":
I got here from https://stackoverflow.com/a/26048343/1424877 , looking for a way to convert SVG to any-format-I-could-upload-to-StackExchange. At first I tried this:
svgexport
prints:That makes an unusably small image! At first I thought svgexport simply couldn't handle this file, and came here to report that bug. But eventually, I realized that I was supposed to write
400:400
, not400x400
. And that made it work fine.So my feature request is: It would be useful if
svgexport
would recognize failed attempts at the requiredWIDTH:HEIGHT
syntax, and give a useful error message — or simply support theWIDTHxHEIGHT
syntax as an alternative! Anything that makes it more of a drop-in replacement for ImageMagickconvert
would be fantastic.The StackExchange examples lead me to believe that you accept
2x
as a synonym for what ImageMagick calls200%
, and that you probably don't have any equivalent of ImageMagick's100x
orx100
(i.e. specifying just the width or just the height). I don't know if you can really do anything to help with those use-cases, without breaking existing use-cases (e.g. it would be good for100x
to mean "width 100, height proportional" just like ImageMagick, but it would probably be bad for your existing users if10x
stopped meaning "scale by 1000%," so I don't think you can win either way on that one.)This bug report relates to
svgexport
version "Invalid usage!":so I hope you can figure it out from that. 😛
The text was updated successfully, but these errors were encountered: