Skip to content

jay763190097/html2image_plus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

convert html to image/pdf by phantomjs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%