March 16, 2019
The scenario is to run the program inside of Ubuntu VPS. Input a URL the program will output the jpg file. The solution is to use wkhtmltoimage, which is a part of wkhtmtopdf. I used to use the old version wkhtmltopdf v0.12.3. Now it is not working anymore due to some reason I don’t know.