API Version 6
A new major release is now available on both our HTML to PDF and Screenshot APIs. The new release is backwards compatible so we urge our users to simply replace their version to v6 from now on.
heightparameters on the HTML to PDF API, it is now not necessary. Simply use the
pdf_[width|height]parameters for page size customization.PDF page and viewport sizes are now automatically calculated by the API. If you used to set
- General performance of the API has been improved in 20% range.
- HTML to PDF API now accepts a
pdf_authorparameter to customize the author metadata of resulting PDF document.
- Now you can choose which pages to be included in your final PDF document. This parameter can contain a single page number or a range in
grayscale: Both APIs can create grayscale documents using
pdf_encryption: The HTML to PDF API can now generate encrypted PDF documents. The
pdf_encryptionparameter can either be
128which sets the encryption key length. 40 bit encryption will be more compatible while 128 bit files will be more secure. The encrypted file can have a user and/or owner password and also can be customized with several restrictions. Please refer to our docs for further details.