I'm trying to render a HTML page as a PNG with transparency enabled.
This is the command that generates the images:
/usr/local/bin/wkhtmltoimage-amd64 --transparent --crop-h 300 --crop-w 210 temporary.html image.png
I have also tried enabling the format parameter.
/usr/local/bin/wkhtmltoimage-amd64 --transparent --format png --crop-h 300 --crop-w 210 temporary.html image.png
But the images are always showing colored noise like this. I am using the latest binaries from http://wkhtmltopdf.org/downloads.html.
We get the same issue.
Without the crop values it seems to work.
We are under:
Our possible solution is to make the browser of the wkhtmltoimage width height 300px and width 210px: