HtmlToImage v0.1.3 HtmlToImage

Provides a wrapper around wkhtmltoimage for creating images from HTML using WebKit engine

Summary

Functions

Converts given HTML string into binary image

Converts given HTML string into binary image

Functions

convert(html)

Converts given HTML string into binary image

convert(html, options)

Converts given HTML string into binary image.

Returns binary data of the generated image

Options

wkhtmltoimage_path - specify a path where wkhtmltoimage tool is installed
format - the format of output image file. Default is JPG