Questions tagged [wkhtmltoimage]

wkhtmltoimage is a program capable of converting HTML documents into images.

Description

Simple shell utility to convert html to pdf using the webkit rendering engine, and qt. Introduction

Searching the web, I have found several command line tools that allow you to convert a HTML-document to a PDF-document, however they all seem to use their own, and rather incomplete rendering engine, resulting in poor quality. Recently QT 4.4 was released with a WebKit widget (WebKit is the engine of Apples Safari, which is a fork of the KDE KHtml), and making a good tool became very easy.

http://code.google.com/p/wkhtmltopdf/issues/list?q=label:wkhtmltoimage

via http://code.google.com/p/wkhtmltopdf/

116 questions
0
votes
1 answer

Forcing NReco.ImageGenerator to download specific version of wkhtmltoimage.exe

I'm using NReco.ImageGenerator.dll v1.1.3. This component is very useful, but it downloads wkhtmltoimage.exe v0.12.4, and I need v0.12.5 instead. How can I force it to download v0.12.5?
0
votes
0 answers

wkhtmltoimage is not able to convert local HTML file to image

I am trying to convert a HTML page to image using wkhtmltoimage. I have followed below steps. I have created a batch file to navigate to the wkhtmltoimage bin directory and then taking a file and converting it to image. It works perfectly fine when…
Tejashree Kutte
  • 94
  • 1
  • 10
0
votes
1 answer

Is there any way we can extract dataframe into image(png)?

I need to extract my pandas dataframe as an image. Input : import pandas as pd data = [['tom', 10], ['nick', 15], ['juli', 14]] df = pd.DataFrame(data, columns = ['Name', 'Age']) df Output: Dataframe into png. Thanks !!
Arvind Pant
  • 65
  • 1
  • 1
  • 8
0
votes
2 answers

wkhtmltoimage: QsslSocket

I wanted to generate a HTML to an image, but I god this error: The exit status code '1' says something went wrong: stderr: "Loading page (1/2) [> ] 0% [======> ] 10% QSslSocket: cannot resolve CRYPTO_num_locks QSslSocket: cannot resolve…
Feralheart
  • 1,881
  • 5
  • 28
  • 59
0
votes
0 answers

PHP wkhtmltoimage not working with shell_exec

I am trying to take screenshot like this: shell_exec("/usr/bin/wkhtmltoimage http://google.com screen.png"); But it is not creating screen.png. But when I run /usr/bin/wkhtmltoimage http://google.com screen.png from terminal it works as…
bhattraideb
  • 407
  • 7
  • 25
0
votes
1 answer

How to take a screenshot of site which is translated using Google Websites Translate?

I want to translate site using Google Websites Translate and then download it like pdf or jpg. I tried to use wkhtmltopdf, but Google Websites Translate return result in frame. Thus if I take a screenshot (pdf or jpg) of translated page I get empty…
LOGA
  • 51
  • 1
  • 6
0
votes
1 answer

rendered image is much wider than html element

I'm trying to render this page with npm's wkhtmltox into a png:
theonlygusti
  • 11,032
  • 11
  • 64
  • 119
0
votes
1 answer

Render unicode text with wkhtmltoimage

Trying to use wkhtmltox to turn an HTML file to an image: ./server.js const express = require('express'); const fs = require('fs'); const wkhtmltox = require('wkhtmltox'); const app = express(); const converter = new…
theonlygusti
  • 11,032
  • 11
  • 64
  • 119
0
votes
0 answers

wkhtmltopdf in Debian

I'm trying to get wkhtmltoimage to work in a 64-bit Debian based environment. I'm using node-wkhtmltoimage in a node project. I dev on a mac, and using the mac binary from wkhtmltopdf, I get it to work fine. Then when I use the linux binary (tried…
steventnorris
  • 5,656
  • 23
  • 93
  • 174
0
votes
1 answer

unable to save png with the c-bindings of wkhtmltoimage (Pascal)

i need to convert websites to transparent images in my actual pascal-project. Therefore i've translated the c-bindings of wkhtmltoimage to pascal (FPC / Lazarus IDE). Here is the translation: // Copyright 2017 Thorsten Zahn // translation of…
thz
  • 111
  • 8
0
votes
1 answer

Export HTML to PDF with Images

I have created a HTML document from SQL in powershell. Now, when I attempt to export the HTML document to PDF with wkhtmltopdf, none of the images from the HTML document show up. If I were to create a PDF from google, the images will export just…
Richard
  • 59
  • 1
  • 8
0
votes
1 answer

Can not convert html to png using phantomjs or wkhtmltoimage

I want to convert html to png. Here is my html