CF TCPDF now supports Base64 encoded images

Use Base64 encoded images in ChronoForms TCPDF.

Overview

The TCPDF library in older versions did not support writing Base64 encoded images directly to a PDF.
Manually download and update to the latest TCPDF version from the ChronoEngine website. Then, you can directly use the Base64 image data, such as from a signature pad, in an image source tag without needing to convert and store the file first.

he healyhatman 17 Jun, 2018
Answer
So Max just updated the TCPDF version, and now it appears Base64 encoded images are properly written to the PDF! No more having to convert data from the Signature Pad widget to a png and store it on your server you can write it straight in.

For example:
<img src = "{data:signature}" alt = "Signature pad image" /> 
And yes the quotation marks around the shortcode are necessary.


In order to update to the latest TCPDF version you have to download it manually it's not automatically updated.
http://www.chronoengine.com/chronoforms/download
This topic is locked and no more replies can be posted.