@behance/svg-converter
v1.0.2
Published
Behance SVG Converter
Downloads
8
Maintainers
Keywords
Readme
Behance SVG Converter
Batch-convert SVG icons to PNG for multiple pixel densities.
Usage
Given that you have a file with the path:
/path/to/svgs/cool-icons/icon.svg
The command be-svg-converter --input=path/to/svgs/ --output=path/to/pngs/
Will produce new files with the paths:
- path/to/pngs/1x/cool-icons/icon.png
- path/to/pngs/2x/cool-icons/icon.png
- path/to/pngs/3x/cool-icons/icon.png