Otouto / gulp-raster

gulp task for conversion svg to raster
MIT License
18 stars 16 forks source link

Plugin generates empty image #10

Open AndrejGajdos opened 9 years ago

AndrejGajdos commented 9 years ago

If I want to convert this svg file:

<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><path d="m160 0c-64 0-96 32-96 96l0 416l113-113l113 113l0-384c0-35 29-64 64-64l62 0l0-64z" fill="black"/></svg>

The output is empty .png file

icon-3d-bookmark_black

pjconnors commented 8 years ago

@AndrejGajdos, what happens when you remove style="display: none;" from the svg?