invalid argument for option `-resize': icon.svg @ error/convert.c/ConvertImageCommand/2592.
What if, instead, one does this:
node -p "[48,96,128,192,512].map(s=>\`convert -resize \${s}x\${s} icon.svg \"icon-\${s}x\${s}.png\"\`).join('\n')" | bash
🤔🤔🤔
For specific APIs see the imagemagick docs
Please don't be naughty. It's a mistake in your example and is already fixed in my second comment.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What if, instead, one does this:
🤔🤔🤔
For specific APIs see the imagemagick docs
Please don't be naughty.
It's a mistake in your example and is already fixed in my second comment.