wkhtmltoimage / wkhtmltopdf 0.12.5

wkhtmltoimage and wkhtmltopdf render HTML pages into PDF or convert them into image files respectively. They're utilizing the QT Webkit runtime for "headless" operation without a running browser or display server.

Tags webkit renderer pdf screenshot command-line
License GNU LGPL
State alpha

Recent Releases

0.12.511 Jun 2018 06:25 minor bugfix: Build without patched Qt and integrate with Travis CI and AppVeyor. #1524: qt partial for overlapping text when repeating headers/footers in table (qt#29). #1914: qt rotated elements not rendered on thead on second page and beyond. #1870: sending of duplicate cookies. #2609: add viewportSize property to C API. #2711: differences between "counting" and "printing" phases (causing crashes/blank pages). #3001: static builds not working with updated OpenSSL. #3090: added support for SSL client certificates. #3241: for DPI regression on OS X. #3363: added error message for network errors related to non-media files. #3364: new option `verbosity` to allow different log levels in both CLI and API. #3476: application name in libwkhtmltox. #3672: qt broken PDF with fonts having spaces in name (qt#38). #3680: qt build on macOS 10.13. #3900: qt properly encode URLs with unicode characters in links. Add outlineDepth property to C API. Add wkhtmltoimage_destroy_global_settings method to C API. Switch to self-hosted website and downloads as gna.org is shutting down. Conversion of read-only form fields. Flush stderr to allow reading progress updates. Handling of errors for media URLs with query string. Add setting to perform hostname lookup via proxy. Correctly pass --copies to underlying QPrinter. Minor documentation updates and ing compiler warnings. Add various Qt patches to support OpenSSL 1.1 and latest MinGW/macOS environments. Removed build scripts in favor of separate repo (wkhtmltopdf/packaging).
0.12.423 Nov 2016 03:15 minor bugfix: Add support for building with VS2015. Update OpenSSL to 1.0.2j and libpng to 1.6.26. qt change screen size in headless mode to a more sane value (1366x768). qt allow screen size in headless mode to be overriden via environment variables. qt compilation failure on OS X 10.11 due to usage of deprecated APIs. #1768: allow using long argument list (without hardcoded limits). #2004: qt rendering of form fields in PDF output. #2353: qt context.setLineDash doesn't work in Canvas. #2416: make background transparent by default for headers/footers. #2463: qt standardize rendering DPI to 96. #2673: fail immediately in the build script if the Qt source is not available. #2684: qt crash in WebKit (RenderBlock::removeFloatingObjectsBelow). #2885: enforce UTF-8 encoding for input strings in the API. #2887: improve docs to make examples of header/footer variables more explicit. #3077: use correct install path for man pages.
0.12.321 Jan 2016 03:15 minor bugfix: qt upgrade the patched Qt to the last Qt 4.8 commit. Removed support for CentOS 5 builds. Update OpenSSL to 1.0.2e and xz to 5.2.2 and libjpeg to 9b. Downgrade libpng to 1.2.56. #1843: add --keep-relative-links and --resolve-relative-links to resolve relative links. #1981: temporary PDF files not being removed when writing to stdout. #2104: renamed COPYING to LICENSE. #2183: apply --javascript-delay settings for non-main resource loaders. #2190: do not depend on ICU even if it is already installed. #2194: qt deging of Qt/WebKit due to missing deinformation. #2214: qt broken rendering of transparent images when converting to PDF. #2252: ownership of /usr/local being changed during installation on OS X. #2280: do not allow data URIs for --header-html or --footer-html. #2322: broken debuilds with MSVC. #2355: add support for proxy bypass for specific hosts with --bypass-proxy-for. #2418: build error on OS X. #2560: allow using email address as proxy username. #2572: incorrect version detection when building distro-specific packages. Jan 2015 03:45 minor feature: update OpenSSL to 1.0.1l 2084**: **** make background transparent by default when rendering to PDF 2142**: fix wkhtmltoimage ignoring --javascript-delay and --window-status 2151**: **** fix PDFs rendering without embedded fonts on 64-bit Cocoa build
0.12.210 Jan 2015 03:15 minor feature: external libraries updated: OpenSSL to 1.0.1k, libpng to 1.5.21 and xz to 5.2.0 fix build failure with unpatched Qt = 5.3 1539**: **** using OpenType fonts now results in selectable text on Windows 1638**: **** fix incorrect rendering of JPEG images on Windows Server 2008 x64 1639**: block access to local files on Windows when an invalid URL is used 1640**: **** make table page-break logic opt-in via CSS at the row level 1676**: do not allow overriding the header/footer settings for cover pages 1676**: set page margins correctly via computed header/footer heights for multiple URLs 1758**: fix corrupt image when output is specified as "-" in wkhtmltoimage on Windows 1722**: **** fix broken hyphenation with soft-hyphens 1769**: fixed unicode URLs in links 1772**: added variable 'isodate' for substitution in headers/footers 1790**: fix handling of temporary files during PDF conversion via API 1808**: fix and not working without HTML headers/footers 1825**: fix handling of non-ASCII characters in command-line arguments 1863**: **** blank page or crash with low DPI on Windows 1892**: --window-status causes endless loop with --header-html 1906**: fix wrong comparison when parsing list parameters 1944**: **** fix the reflection subsystem to fix the non-functional API 1949**: fix generation of tarball in the posix-local build 1955**: installer does not work on 32-bit OS X 1961**: add explicit dependency on minimal font packages for all linux targets 1988**: fix footer spacing being ignored 1992**: add support for CentOS 7 target 2055**: **** rendering of Thai symbols is very slow
0.13.0-alpha-391fd3428 Dec 2014 12:05 minor bugfix: Fix unicode URLs. Block access to local files on Windows when an invalid URL is used. Remove instructions for building on OS X 10.6. Fix wrong comparison when parsing list parameters. Add explicit dependency on minimal font packages for all linux targets. Update to latest fpm when running the "update-all-schroots" target.