gulp-raster icon indicating copy to clipboard operation
gulp-raster copied to clipboard

Support viewbox attribute

Open thasmo opened this issue 10 years ago • 1 comments

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.

thasmo avatar Feb 01 '15 18:02 thasmo

+1

bm2u avatar Sep 21 '15 14:09 bm2u