wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine. These run entirely "headless" and do not require a display or display service. There is also a C library, if you're into that kind of thing. The file pdf.h contains a fairly high level and stable pure c binding to wkhtmltopdf. These binding are well documented and do not depend on QT. Using this is the recommended way of interfacing with the PDF portion of libwkhtmltox. The rest of the headers directly exposes the C++ QT dependent class used internally by wkhtmltopdf and wkhtmltoimage. wkhtmltopdf is able to put several objects into the output file, an object is either a single webpage, a cover webpage or a table of contents. The objects are put into the output document in the order they are specified on the command line, options can be specified on a per object basis or in the global options area.

Features

  • Download a precompiled binary or build from source
  • Create your HTML document that you want to turn into a PDF (or image)
  • Run your HTML document through the tool
  • There are plenty of command line options
  • Generate invoices, create birthday cards, or all other sorts of fun things
  • A page objects puts the content of a single webpage into the output document

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML, PDF, Invoice

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow wkhtmltopdf

wkhtmltopdf Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of wkhtmltopdf!

Additional Project Details

Operating Systems

Linux

Programming Language

C++

Related Categories

C++ HTML XHTML, C++ PDF Software, C++ Invoice Software

Registered

2021-05-26