RenderHTML

A processor that replaces an HTML file, in an IDOL document FlowFile, with an image of the rendered HTML. You can choose the output image format.

TIP: Use this processor after a KeyViewExportToHtml processor to obtain an image or preview of any document (as long as the document format is supported by the KeyView HTML Export SDK).

Properties

Name Default Value Description
Idol License Service   An IdolLicenseServiceImpl that provides a way to communicate with an IDOL License Server.
WKOOP Path The path to an included version of WKOOP The path to the embedded web browser that is used to render the HTML.
Render Format png The output image format.
Render Quality 100 The quality of the output image, for image formats that support compression. The value can range from 0 (smallest file size, greatest compression) to 100 (largest file size, better image quality).
Max Render Height 25000 The maximum height (in pixels) for rendered images. Any content that overflows the maximum size is not included in the output.
Max Render Width 2500 The maximum width (in pixels) for rendered images. Any content that overflows the maximum size is not included in the output.
The processor supports many additional parameters that you can use to configure WKOOP (the embedded web browser that is used to render the HTML). For more information about these parameters, right-click the processor and click View Usage, or refer to the documentation for the IDOL Web Connector.

Relationships

Name Description
rendered Receives new FlowFiles that contain the rendered images. If you connect this relationship, the input FlowFiles are transferred to the "success" relationship unmodified.
success Processing was successful. When the "rendered" relationship is connected, the input FlowFiles are sent to this relationship unmodified. If you do not connect the "rendered" relationship, the HTML file in the input FlowFile is replaced with an image of the rendered HTML.
failure Processing failed.