gulp-svg2png
A gulp plugin for converting SVGs to PNGs.
About
The original project akoenig/gulp-svg2png is a fantastic piece of work. It seems to have fallen out of active development, specifically leaving the project blocked at node 6. Improvements to this fork include support for later versions of node as well as a bump to svg2png to its most recent version of ^4.0.0. Please feel free to ping me if you'd like to see some updates here! Thanks!
Usage
First, install gulp-svg2png
as a development dependency:
npm install --save-dev gulp-svg2png
Then, add it to your gulpfile.js
:
var svg2png = ; gulp;
Arguments
svg2png([options, verbose, concurrency])
options
The resizing options which will be passed directly to svg2png.
verbose
Logs progress information (optional; default=true)
concurrency
Limit the amount of concurrent tasks processed at one time. (optional; default=null)
Development
TypeScript build
npm run build
Changelog
See HISTORY.md
Author
Copyright 2014-2016, André König (andre.koenig@posteo.de)