SnapHTML is a lightweight OutSystems demo application that showcases the capabilities of capturing HTML content and converting it into high-quality image formats like PNG, JPEG, and WebP using the html2canvas library.
html2canvas
This demo allows users to:
Capture a visible DOM element by its ID
Convert any HTML string into an image
Choose output formats (png, jpeg, webp)
Configure image scale (0.1 to 10) and background color
Download the image or get a Base64 string for further use
It is designed to help developers easily integrate HTML snapshot functionality into their own OutSystems applications, offering both element-based and HTML string–based rendering options.
Ideal for generating screenshots of widgets, reports, or custom content inside your app.
Demo