BinaryPath not set
Closed this issue · 1 comments
thackerronak commented
out, err := wkhtmltoimage.GenerateImage(&c)
Getting error while runnig above code.
"BinaryPath not set"
thackerronak commented
Got solution
c := wkhtmltoimage.ImageOptions{BinaryPath:"/usr/local/bin/wkhtmltoimage",Input: "./example.html", Format: "png"}