Hi,
I've been trying to convert a HTML document such as the following to a PDF
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAADICAYAAAAQj4UaA....(truncated)">
<p>SOME TEXT</p>
</body>
</html>
The code I'm using to convert it to a PDF is:
ITextRenderer renderer = new ITextRenderer();
renderer.documentFromString = htmlString;
renderer.layout();
renderer.createPDF(fileOutputStream, false);
renderer.finishPDF();
The generated PDF does not include the image, so I guess either I'm not generating the PDF correctly, or these kinds of images are not supported?
Thanks in advance,
Donal