The CloudConvert website / HTML to PDF, JPG and PNG converter is often used to generate PDF files or thumbnails.  Currently, we are using a proven, WebKit-based engine. However, there are use cases that require an even more modern rendering. We are currently experimenting  with automating the Chrome browser for this matter.

There is a new option available to enable Chrome for converting HTML files or websites. This option is named “use_chrome” when using our API.

Please note that currently not all of the pre-existing options are available when using Chrome instead of the current engine. The possible options are:

When converting to PDF:

  • Page orientation
  • Custom page size (defaults to A4)
  • Page margins
  • Zoom factor

When converting to JPG/PNG:

  • Screen width (defaults to 1024)
  • Screen height (defaults to fir the content height)
  • Zoom factor
  • Resize to specific size

We are looking forward to get your feedback about this new feature. In particular we are interested if there are any formatting issues or if there are required options missing.

 

 

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

required

Post navigation

*/ ?>