node-webshot icon indicating copy to clipboard operation
node-webshot copied to clipboard

SVG and tag picture doesn't show

Open jonatasnardi opened this issue 9 years ago • 6 comments

Hello,

First of all, congratulations by the framework.

When I save my screenshot, doens't show the pictures between the tag and the SVGs doens't appear too.

Can you help me please?

Jonatas Nardi

jonatasnardi avatar Oct 03 '16 21:10 jonatasnardi

Can you paste you code where you call webshot?

turnerniles avatar Oct 19 '16 13:10 turnerniles

Screenshot: http://i.imgur.com/LNDaZQ3.png Code: http://i.imgur.com/Fl8nP0U.png

Look the screenshot, the svg icons renders with black background and with a different size and position.

Only tag SVG doesn't render. The picture tag I solved.

I'm basing on "basic.js"

I really need this to work. Thanks by help man!

jonatasnardi avatar Oct 19 '16 13:10 jonatasnardi

Have you tried adding a renderDelay?

var options = { renderDelay: 6000 };

webshot('example.html', 'example.png', options, function(err) { });

turnerniles avatar Oct 19 '16 19:10 turnerniles

I apply the renderDelay, but doesn't work too. I continue with the same problem :(

jonatasnardi avatar Oct 19 '16 19:10 jonatasnardi

Same here, I'm using the latest phantomjs with phanthomPath, but still not showing the SVG... Update: Okay, I figured out that it's not working only if I'm using local HTML file.

BDominik avatar Mar 28 '17 10:03 BDominik

I had a similar issue, but it was an error on my svg. Now it's working

john-guerra avatar Jun 07 '17 17:06 john-guerra