Give us feedback
Reactive icon

Html 2 Image

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 14 January 2020 by 
 (5 ratings)

Html 2 Image

Converts a div container into a binary image. Supports png, jpg, gif and bmp output formats.
Read more

Converts an Outsystems div container into a binary image or a base64 image. 

Supports png, jpg, gif and bmp output formats.

Based on script.

Release notes (1.0.0)
Reviews (1)
by Igist
24 Mar
in version 1.0.0
Useful component that works well, however the JS in it must be updated to the latest version from the source
I made it work properly with the version: html2canvas 1.4.1 only (used the html2canvas.min.js).
I was able to add some variables to control size and resolution of the resulting image.
In some cases it proved best to render the desired container to a plain fully flexible page and export it out of that. Play with WindowWidth and Scale parameters to obtain desired png resolution. In my cases I used WindowWidth = 1000/1500/2000 and Scale = 1.5/2 to get sufficient resolution.