I am trying to generate some SVG and allow users of my website to download these SVGs as PNGs. After reading this I get all my external images included in the downloaded
A working proof of concept project on GitHub to address OP problem statement.
https://github.com/nirus/SVG-PNG-Convert
Built generic Javascript module that can be modified and used anywhere. Read the documentation. Give it a try!