I am finally getting around to evaluating v4 (4.0.9) and I’m running into an image problem.
I am sending a BASE64 encoded PNG from a browser to a Java web application in order to be included in a PDF report generated by the tag library. This worked in v3, and the resulting image was nicely embedded in the PDF.
With v4, the image has a black background.
I’ve verified that this is not an issue with BASE64 decoding, since decoding the image, saving the file, and including this PNG in a v4-generated PDF results in the same black background.
I’ve verified that this is not an issue with the image. I can reference the image in a plain HTML page with a light blue background, and it looks as expected.
I have included some files:
1. pie.png – decoded BASE64 image
2. pd4mlv4-base64-img.png – screen shot of pdf generated by PD4ML v4.0.9, BASE64 image, and the tag library
3. pd4mlv4-png-img.png – screen shot of pdf generated by PD4ML v4.0.9, PNG image, and the tag library
4. pd4mlv3-base64-img.png – screen shot of pdf generated by PD4ML v3, BASE64 image, and the tag library