piqnt / svgexport

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

[suggestion] migrate from PhantomJS to headless browsers (faster, better, etc...) #62

Closed ghost closed 5 years ago

ghost commented 6 years ago

PhantomJS is no longer maintained (..plus it is slow and buggy). Here are the headless browser pages for Chrome and Firefox: https://developers.google.com/web/updates/2017/04/headless-chrome https://developer.mozilla.org/en-US/Firefox/Headless_mode

shakiba commented 5 years ago

I once made some progress with that, but I wasn't able to implement all sizing options. I will try again in future.

ghost commented 5 years ago

lets close it for now.. btw, portable Firefox/Chrome might be easier to work with (portableapps.com or https://github.com/eladkarako/mods/tree/master/Firefox for example)