Converts a div container into a binary image. Supports png, jpg, gif and bmp output formats.
Converts an Outsystems div container into a binary image or a base64 image.
Inspired by component https://www.outsystems.com/forge/component_overview.aspx?projectid=7525&projectname=html-2-image&
Based on http://html2canvas.hertzen.com/ script.
Changes to demo to use the mime type from JS, change name extension to jjpg and force ajax refresh the download button so that it downloads the image properly