HTML to Image

HTML to Image This node loads a website and provides a snapshot of it as an image for further processing.

The HTML to Image Node provides the possibility to take a snapshot of any web page and apply it to geometries as a texture. Unlike the more recently introduced Web Browser node, it does not provide any capabilities of interacting with a web page

This Node contains the input properties URL, Width and Height and the Method Reload. URL defines the address of the web page.

The URL must specify a protocol: for example  http://www.ventuz.com is a valid URL but www.ventuz.com is not.


The properties Width and Height define the size of a virtual browser window from which the snapshot is taken. These properties affect the layout of the web page. Triggering the Reload method forces this node to reload the page content and take a new snapshot.

The output properties of the HTML to Image node provide information about the snapshot size and the loading progress. The property Image provides the snapshot as an image resource that can be passed to an Image To Texture node. The properties ImageWidth and ImageHeight state the size of the snapshot. The property Message provides textual information about the status and progress of the web page loading. The property Progress provides information about the progress in percent. The event Finished is triggered when loading and snapshot of the web page are completed.