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
Changed my command to: $ ./svg-resizer.js -f -y 100 -o svg/resized/ svg/*.svg and it converted them to 75px, but the resulting files are empty ¯_(ツ)_/¯
I've got the same problem: ./svg-resizer.js -f -x 50 -y 50 -o ../SVG-Icons/resized ../SVG-Icons/*.svg
produces:
rsvg-convert -w 13 -h 37.5 --keep-aspect-ratio --dpi-x 90 --dpi-y 90 -f svg ../SVG-Icons/Anbieter.svg -o ../SVG-Icons/resized/Anbieter.svg
Cannot parse integer value '37.5' for -h
Error converting file: ../SVG-Icons/Anbieter.svg
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '../SVG-Icons/resized/Anbieter.svg'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at /Resources/svg-resizer/svg-resizer.js:115:33
at Array.forEach (native)
at Object.<anonymous> (/Resources/svg-resizer/svg-resizer.js:62:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
Any way to get around converting images that have decimals in their width? Using
librsvg
v2.40.15 on OS X 10.11.5The text was updated successfully, but these errors were encountered: