Tools to Capture and Convert the Web

Convert HTML with GrabzIt!

06 October 2016

GrabzIt’s API now supports direct HTML conversion. This means you can write a piece of HTML pass it to GrabzIt and it will be converted into a image or PDF. Without the need to create a HTML page that GrabzIt can read. However any resources such as CSS and images should be embedded in the page or publicly accessible.

Understandably to support this new feature we have had to upgrade our client libraries. However we have also taken advantage of this opportunity to simplify our client libraries so that parameters for creating screenshots, animated GIF’s and more are passed to the methods using a class. This will mean there should be no more confusion caused by methods accepting many parameters.

We have already upgraded our PHP Library and JavaScript Library to this new version 3, however because of the fundamental changes to our API it will take time to upgrade each library so we will upgrade each of our libraries over time in order of popularity.

We have also decided that due to the increase in features GrabzIt JavaScript API we can no longer recommend accessing the JavaScript API directly and are instead recommending that developers use GrabzIt's JavaScript Library, which provides all of the features of the other languages but hides the complexity of creating your own dynamic script tags.

Upgrading from Version 2

It is simple to upgrade from version 2 simply use URLToImage rather than SetImageOptions, URLToPDF rather than SetPDFOptions, URLToTable rather than SetTableOptions and URLToAnimation rather than SetAnimationOptions.

Then when setting custom options use the options classes that are described in the client documentation.

Update

As of the 22nd of October 2016 all of our client list have been upgraded to version 3!

View the latest blog posts