$ pip install pdfcrowd
You can learn more install options here.
The package installs tools for all Pdfcrowd converters.
Authentication is needed in order to use the Pdfcrowd API. The credentials used for accessing the API are your Pdfcrowd username and the API key. You can find the API key in your account page.
html2image -user-name "username" -api-key "apikey" \ -output-format "png" \ "http://www.example.com" > example.png
html2image -user-name "username" -api-key "apikey" \ -output-format "png" \ "/path/to/MyLayout.html" > MyLayout.png
echo -n "<html><body><h1>Hello World!</h1></body></html>" | \ html2image -user-name "username" -api-key "apikey" \ -output-format "png" - > HelloWorld.png
Conversion from HTML to image.