piqnt / svgexport

SVG to PNG/JPEG command-line tool and Node.js module
927 stars 85 forks source link

Embedded image hosted on s3 generates no file, nor error #43

Closed TheDutchCoder closed 7 years ago

TheDutchCoder commented 7 years ago

Whenever I embed an image hosted on s3 (loaded over https), the script doesn't render any output file but also doesn't generate an error.

Any idea how to tackle this?

Edit: narrowing it down to some options apparently not working with the embedded image (option-less generation works), I'll update if I know more.

Edit 2: okay, the script works, but it's generating a blank file (I set the SVG bg to be white and the script generates a white square).

So something certainly is up with an embedded image.

I'll try embedding a local file and see if that yields anything.

Edit 3: local files don't work either. SO it looks like image support is currently broken :(

TheDutchCoder commented 7 years ago

Figured it out!

If a width/height attribute is missing from the image, it will not render at all.