@behance/svg-converter
Behance SVG Converter
Last updated 3 years ago by eriksonadobe .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @behance/svg-converter 
SYNC missed versions from official npm registry.

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

License

Apache-2.0

Current Tags

  • 1.0.2                                ...           latest (3 years ago)

2 Versions

  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |