html2image_plus Convert html to image(png/jpg) or pdf by PhantomJS Install npm install -g html2image_pluse Usage html2image -a https://www.baidu.com -o /home/abc.png -f png -s 375*667 or html2image -a file:///home/index.html -o /home/abc.png -f png -s 375*667 Help html2image -h