Closed Andrew-Dunn closed 8 years ago
1 month passed and still no answer to this? I've faced it too.
I have this problem too.
Raising the flag again. One more month passed and I still need to modify it locally.
I use "gulp-svg2png": "1.0.2"
and it works, this can be a temporary fix until version 2 works again.
@radu-tanasescu 1.0.2 is not working - failing at converting smth.
LGTM. Thanks for your effort and sorry to everybody for the late response.
Released as 2.0.2
.
At the moment the plug-in literally does not work when called by Gulp.
This patch fixes that, by removing the use of pn to open the file, which has already been read into memory by gulp anyway.
svg2png already uses promises so there is no effect on synchronicity.
Added an extra error message to remind users that only Buffers are supported, not streams. I'm not sure if this will affect anybody.
An added bonus is that any changes made by gulp to the file will now be reflected by gulp-svg2png.
Addresses issues #23.