gulp-raster
gulp-raster copied to clipboard
Support viewbox attribute
gulp-svg2png
supports the viewbox
attribute additionally, if the width
and height
attributes are missing on the svg
element and it would be nice if gulp-raster
also supports it, to render correctly sized PNG files. Currently the generated PNG image has wrong dimensions if the width
and height
attributes are missing. I guess it would also be nice to have a configuration for this to disable/enable it when needed, individually.
+1